X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/97cf0fc47708722e8454dd87b72a587f3dd6864d..a4a4b14a5270ab0ae3917a385055a5a5360ce683:/init.org diff --git a/init.org b/init.org index 5ead731..790c967 100644 --- 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 - ([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) @@ -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'." - (interactive) - (delete-other-windows) + (interactive + (when (equal current-prefix-arg nil) + (delete-other-windows))) (notmuch)) (use-package notmuch