diff options
Diffstat (limited to 'emacs/.emacs.d/wpc/buffer.el')
-rw-r--r-- | emacs/.emacs.d/wpc/buffer.el | 6 |
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? |