mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: use search-next-thread to move to next thread in show mode
We should always use the dedicated search mode navigation functions, in case navigation mechanics change down the line.
This commit is contained in:
parent
fe74e6bea3
commit
9b7e0dcb9a
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
||||||
(declare-function notmuch-call-notmuch-process "notmuch" (&rest args))
|
(declare-function notmuch-call-notmuch-process "notmuch" (&rest args))
|
||||||
(declare-function notmuch-fontify-headers "notmuch" nil)
|
(declare-function notmuch-fontify-headers "notmuch" nil)
|
||||||
(declare-function notmuch-select-tag-with-completion "notmuch" (prompt &rest search-terms))
|
(declare-function notmuch-select-tag-with-completion "notmuch" (prompt &rest search-terms))
|
||||||
|
(declare-function notmuch-search-next-thread "notmuch" nil)
|
||||||
(declare-function notmuch-search-show-thread "notmuch" nil)
|
(declare-function notmuch-search-show-thread "notmuch" nil)
|
||||||
|
|
||||||
(defcustom notmuch-message-headers '("Subject" "To" "Cc" "Date")
|
(defcustom notmuch-message-headers '("Subject" "To" "Cc" "Date")
|
||||||
|
@ -1567,7 +1568,7 @@ argument, hide all of the messages."
|
||||||
(if parent-buffer
|
(if parent-buffer
|
||||||
(progn
|
(progn
|
||||||
(switch-to-buffer parent-buffer)
|
(switch-to-buffer parent-buffer)
|
||||||
(forward-line)
|
(notmuch-search-next-thread)
|
||||||
(if show-next
|
(if show-next
|
||||||
(notmuch-search-show-thread))))))
|
(notmuch-search-show-thread))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue