aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jameson Graef Rollins <jrollins@finestructure.net>2012-01-24 16:06:16 -0800
committerGravatar David Bremner <bremner@debian.org>2012-01-30 23:18:22 -0400
commit9b7e0dcb9a8bd8a5898d9dd68715f3a0d0e5280d (patch)
tree39dcc1081fa2b6a2acd4e26a95b2aa3271d04a33
parentfe74e6bea303eeaa5eb2954a0cae9a26f9d917fd (diff)
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.
-rw-r--r--emacs/notmuch-show.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 84ac6249..6b8bd199 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -39,6 +39,7 @@
(declare-function notmuch-call-notmuch-process "notmuch" (&rest args))
(declare-function notmuch-fontify-headers "notmuch" nil)
(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)
(defcustom notmuch-message-headers '("Subject" "To" "Cc" "Date")
@@ -1567,7 +1568,7 @@ argument, hide all of the messages."
(if parent-buffer
(progn
(switch-to-buffer parent-buffer)
- (forward-line)
+ (notmuch-search-next-thread)
(if show-next
(notmuch-search-show-thread))))))