In commit
5d0883e the function notmuch-search-next-thread was changed.
In particular it only goes to the next message if there is a next
message. This breaks notmuch-show-archive-thread-then-next. Fix this
by going to the "next" message whenever we are on a current message.
(defun notmuch-search-next-thread ()
"Select the next thread in the search results."
(interactive)
- (when (notmuch-search-get-result (notmuch-search-result-end))
+ (when (notmuch-search-get-result)
(goto-char (notmuch-search-result-end))))
(defun notmuch-search-previous-thread ()