projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[emacs/amin/notmuch] don’t delete other windows when prefix arg
[~bandali/configs]
/
init.org
diff --git
a/init.org
b/init.org
index
5ead731
..
790c967
100644
(file)
--- a/
init.org
+++ b/
init.org
@@
-1065,7
+1065,8
@@
TODO: break this giant source block down into individual org sections.
:defer 5
:bind
(:map company-active-map
:defer 5
:bind
(:map company-active-map
- ([tab] . company-complete-common-or-cycle))
+ ([tab] . company-complete-common-or-cycle)
+ ([escape] . company-abort))
:custom
(company-idle-delay 0.3)
(company-minimum-prefix-length 1)
:custom
(company-idle-delay 0.3)
(company-minimum-prefix-length 1)
@@
-1622,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'."
#+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
(notmuch))
(use-package notmuch