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.
This commit is contained in:
Mark Walters 2016-10-22 13:10:04 +01:00 committed by David Bremner
parent ad517e9195
commit 09caa0fce7

View file

@ -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 ()