summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Walters <markwalters1009@gmail.com>2016-10-22 13:10:04 +0100
committerDavid Bremner <david@tethera.net>2016-10-25 18:12:12 -0300
commit09caa0fce75dc227d9cf6794f39e3e7ed427676a (patch)
treebc7d40489718e5cf56c67e7ecbb069bb35f02e24
parentad517e9195a29b26955999c6e11fc37c73dbc01e (diff)
emacs: interesting-buffer bugfixes/updates
The command notmuch-interesting-buffer has got out of date -- it doesn't mention notmuch-tree, and it still refers to message-mode not notmuch-message-mode. Update both of these. This fixes the bug that notmuch-cycle-notmuch-buffers does not include notmuch-tree or notmuch-message-mode buffers in its cycling.
-rw-r--r--emacs/notmuch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 9c7f2020..68a4c0b1 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -1058,8 +1058,9 @@ current search results AND that are tagged with the given tag."
(with-current-buffer b
(memq major-mode '(notmuch-show-mode
notmuch-search-mode
+ notmuch-tree-mode
notmuch-hello-mode
- message-mode))))
+ notmuch-message-mode))))
;;;###autoload
(defun notmuch-cycle-notmuch-buffers ()