From: Amin Bandali Date: Wed, 31 Oct 2018 15:41:23 +0000 (-0400) Subject: [emacs/amin/notmuch] don’t delete other windows when prefix arg X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/a4a4b14a5270ab0ae3917a385055a5a5360ce683?ds=inline [emacs/amin/notmuch] don’t delete other windows when prefix arg --- diff --git a/init.org b/init.org index e4c7a1e..790c967 100644 --- a/init.org +++ b/init.org @@ -1623,8 +1623,9 @@ See [[notmuch:id:87muuqsvci.fsf@fencepost.gnu.org][bug follow-up]]. #+begin_src emacs-lisp (defun amin/notmuch () "Delete other windows, then launch `notmuch'." - (interactive) - (delete-other-windows) + (interactive + (when (equal current-prefix-arg nil) + (delete-other-windows))) (notmuch)) (use-package notmuch