diff options
author | Amin Bandali <bandali@gnu.org> | 2018-10-31 11:41:23 -0400 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-10-31 11:41:23 -0400 |
commit | a4a4b14a5270ab0ae3917a385055a5a5360ce683 (patch) | |
tree | 4b983c44abf80fd96370a7de0fa3e382694a8945 | |
parent | 79ea0d2ab4d14d9ce10e57711bb3b5728be595a9 (diff) | |
download | configs-a4a4b14a5270ab0ae3917a385055a5a5360ce683.tar.gz configs-a4a4b14a5270ab0ae3917a385055a5a5360ce683.tar.xz configs-a4a4b14a5270ab0ae3917a385055a5a5360ce683.zip |
[emacs/amin/notmuch] don’t delete other windows when prefix arg
-rw-r--r-- | init.org | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |