mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
emacs: fix a bug introduced by the recent search cleanups.
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.
This commit is contained in:
parent
015bc16f53
commit
3fa00020ea
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ For a mouse binding, return nil."
|
||||||
(defun notmuch-search-next-thread ()
|
(defun notmuch-search-next-thread ()
|
||||||
"Select the next thread in the search results."
|
"Select the next thread in the search results."
|
||||||
(interactive)
|
(interactive)
|
||||||
(when (notmuch-search-get-result (notmuch-search-result-end))
|
(when (notmuch-search-get-result)
|
||||||
(goto-char (notmuch-search-result-end))))
|
(goto-char (notmuch-search-result-end))))
|
||||||
|
|
||||||
(defun notmuch-search-previous-thread ()
|
(defun notmuch-search-previous-thread ()
|
||||||
|
|
Loading…
Reference in a new issue