]> git.notmuchmail.org Git - notmuch/commitdiff
Use 'forward-line' instead of 'next-line' while walking search display
authorKeith Packard <keithp@keithp.com>
Tue, 17 Nov 2009 03:05:02 +0000 (19:05 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 17 Nov 2009 06:10:36 +0000 (22:10 -0800)
The documentation for 'next-line' suggests that 'forward-line' is a
better choice for non-interactive usage. That appears to be the case
here; using next-line caused emacs to spin forever for me.

Signed-off-by: Keith Packard <keithp@keithp.com>
notmuch.el

index cf18c95f6f55124dc04ccbf976c425d047ac02ba..8894a8e194716f444489b1676c3630c545c82c95 100644 (file)
@@ -791,7 +791,7 @@ global search.
     (goto-char (point-min))
     (while (not (eobp))
       (notmuch-search-markup-this-thread-id)
-      (next-line))))
+      (forward-line))))
 
 (defun notmuch-search-show-thread ()
   (interactive)