projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ea0d2
)
[emacs/amin/notmuch] don’t delete other windows when prefix arg
author
Amin Bandali
<bandali@gnu.org>
Wed, 31 Oct 2018 15:41:23 +0000
(11:41 -0400)
committer
Amin Bandali
<bandali@gnu.org>
Wed, 31 Oct 2018 15:41:23 +0000
(11:41 -0400)
init.org
patch
|
blob
|
blame
|
history
diff --git
a/init.org
b/init.org
index
e4c7a1e
..
790c967
100644
(file)
--- 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