]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: have notmuch-search-archive-thread use -next-thread function
authorJameson Graef Rollins <jrollins@finestructure.net>
Tue, 17 Jan 2012 18:54:26 +0000 (10:54 -0800)
committerDavid Bremner <bremner@debian.org>
Wed, 25 Jan 2012 11:17:12 +0000 (07:17 -0400)
Use this standard function, to keep thread navigation in one place.

emacs/notmuch.el

index 6b2c25285abcf05cd8375f8a720476fba597d69b..3ec0816ef79ef7765999c8d757dfa88761390059 100644 (file)
@@ -625,7 +625,7 @@ thread or threads in the current region."
 This function advances the next thread when finished."
   (interactive)
   (notmuch-search-remove-tag-thread "inbox")
 This function advances the next thread when finished."
   (interactive)
   (notmuch-search-remove-tag-thread "inbox")
-  (forward-line))
+  (notmuch-search-next-thread))
 
 (defvar notmuch-search-process-filter-data nil
   "Data that has not yet been processed.")
 
 (defvar notmuch-search-process-filter-data nil
   "Data that has not yet been processed.")