Use 'forward-line' instead of 'next-line' while walking search display

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>
This commit is contained in:
Keith Packard 2009-11-16 19:05:02 -08:00
parent 057b3060e8
commit dac31c9e01

View file

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