about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/buffer.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-31T13·59+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-31T13·59+0100
commita35f723d9271c081318fe463cd6fc51757d8cb0f (patch)
treeca57e41d3ec34a5b7be164793babd9f00c7d9c78 /emacs/.emacs.d/wpc/buffer.el
parent1c87082648c6d265bddaf160f858f14240db739d (diff)
Lint maybe.el
This change had rippling implications.
Diffstat (limited to 'emacs/.emacs.d/wpc/buffer.el')
-rw-r--r--emacs/.emacs.d/wpc/buffer.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/buffer.el b/emacs/.emacs.d/wpc/buffer.el
index 3e4d546fc8ca..31d23432ba7b 100644
--- a/emacs/.emacs.d/wpc/buffer.el
+++ b/emacs/.emacs.d/wpc/buffer.el
@@ -90,7 +90,7 @@ This will ignore Emacs-generated buffers, like *Messages*.  It will also ignore
 
 (defun buffer/exists? (name)
   "Return t if buffer, NAME, exists."
-  (maybe/some? (buffer/find name)))
+  (maybe-some? (buffer/find name)))
 
 (defun buffer/new (name)
   "Return a newly created buffer NAME."
@@ -100,7 +100,7 @@ This will ignore Emacs-generated buffers, like *Messages*.  It will also ignore
   "Find or create buffer, NAME.
 Return a reference to that buffer."
   (let ((x (buffer/find name)))
-    (if (maybe/some? x)
+    (if (maybe-some? x)
         x
       (buffer/new name))))
 
@@ -163,7 +163,7 @@ This function ignores Emacs-generated buffers, i.e. the ones that look like
   (interactive)
   (let* ((xs (buffer/source-code-buffers))
          (candidate (list/get 1 xs)))
-    (prelude/assert (maybe/some? candidate))
+    (prelude/assert (maybe-some? candidate))
     (switch-to-buffer candidate)))
 
 (when buffer/install-kbds?