diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-05-21 12:55:48 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-05-21 17:03:21 -0700 |
commit | 979b3f98a6016c42569289de4bbe6f0566c04884 (patch) | |
tree | 036d79897f34c3bfb8ed3216ee87ca94e786d5ed /.emacs.d | |
parent | aa6f3777d93b85a169b6ec944167e7002b8c758c (diff) | |
download | dotfiles-979b3f98a6016c42569289de4bbe6f0566c04884.tar.gz |
override notmuch-bury-or-kill-this-buffer to always bury
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 2 |
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. |