From dac31c9e01a18130f141994c98a48800cdb03efa Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 16 Nov 2009 19:05:02 -0800 Subject: [PATCH] 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 --- notmuch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2