From 09caa0fce75dc227d9cf6794f39e3e7ed427676a Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 22 Oct 2016 13:10:04 +0100 Subject: [PATCH] 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. --- emacs/notmuch.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- 2.26.2