about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/tree.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-31T16·05+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-31T16·08+0100
commitff8277625f43c1354b63333090f72c277c1f43f8 (patch)
tree901594d4fee2031477ae7821f5bc9ef40474232a /emacs/.emacs.d/wpc/tree.el
parent5d3bb0b7eadc9efc423eb7ef8857fa6df256d254 (diff)
Lint prelude.el
This was a doozey because I use it everywhere. Is there a better way to globally
rename things? Aye aye aye... computers, man!
Diffstat (limited to 'emacs/.emacs.d/wpc/tree.el')
-rw-r--r--emacs/.emacs.d/wpc/tree.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/emacs/.emacs.d/wpc/tree.el b/emacs/.emacs.d/wpc/tree.el
index ddb1df7859e8..b7caf073a210 100644
--- a/emacs/.emacs.d/wpc/tree.el
+++ b/emacs/.emacs.d/wpc/tree.el
@@ -184,13 +184,13 @@ A tree is balanced if none of the differences between any two depths of two leaf
                                             (list (tree-node 9)
                                                   (tree-node 10)))))))
     ;; instance?
-    (prelude/assert (tree-instance? tree-a))
-    (prelude/assert (tree-instance? tree-b))
-    (prelude/refute (tree-instance? '(1 2 3)))
-    (prelude/refute (tree-instance? "oak"))
+    (prelude-assert (tree-instance? tree-a))
+    (prelude-assert (tree-instance? tree-b))
+    (prelude-refute (tree-instance? '(1 2 3)))
+    (prelude-refute (tree-instance? "oak"))
     ;; balanced?
-    (prelude/assert (tree-balanced? 1 tree-a))
-    (prelude/refute (tree-balanced? 1 tree-b))
+    (prelude-assert (tree-balanced? 1 tree-a))
+    (prelude-refute (tree-balanced? 1 tree-b))
     (message "Tests pass!")))
 
 (provide 'tree)