summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-05-21 12:55:48 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-05-21 17:03:21 -0700
commit979b3f98a6016c42569289de4bbe6f0566c04884 (patch)
tree036d79897f34c3bfb8ed3216ee87ca94e786d5ed /.emacs.d
parentaa6f3777d93b85a169b6ec944167e7002b8c758c (diff)
downloaddotfiles-979b3f98a6016c42569289de4bbe6f0566c04884.tar.gz
override notmuch-bury-or-kill-this-buffer to always bury
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7716bd8f..a3c3163b 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2663,6 +2663,8 @@ to open them using `spw/try-external-open'")
compose-mail-other-window compose-mail-other-frame))
(advice-add cmd :before #'spw/require-notmuch)))
+(advice-add #'notmuch-bury-or-kill-this-buffer :override #'bury-buffer)
+
;; An alternative would be just to bind `notmuch-hello' to C-c m, as s, j
;; and <f9> have appropriate bindings in `notmuch-hello-mode' such that the
;; following complete sequences would still call their associated commands.