From: Keith Packard Date: Tue, 17 Nov 2009 03:05:02 +0000 (-0800) Subject: Use 'forward-line' instead of 'next-line' while walking search display X-Git-Tag: 0.1~483 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dac31c9e01a18130f141994c98a48800cdb03efa;p=notmuch.git 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 --- diff --git a/notmuch.el b/notmuch.el index cf18c95f..8894a8e1 100644 --- a/notmuch.el +++ b/notmuch.el @@ -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)