emacs: interesting-buffer bugfixes/updates
authorMark Walters <markwalters1009@gmail.com>
Sat, 22 Oct 2016 12:10:04 +0000 (13:10 +0100)
committerDavid Bremner <david@tethera.net>
Tue, 25 Oct 2016 21:12:12 +0000 (18:12 -0300)
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

index 9c7f2020bdb9ab0cde0908d8ac84d01f19a50412..68a4c0b16fcb1869264db76cbf120caf805e9ea8 100644 (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 ()