Use forward-line instead of next-line

We do this all the time, but at least emacs is kind enough to remind us,
(when compiling), that next-line is only intended for interactive use,
and we should use forward-line inside of lisp code.
This commit is contained in:
Carl Worth 2010-02-05 11:14:25 -08:00
parent ee3e7416f0
commit 78c85f053b

View file

@ -595,7 +595,7 @@ which this thread was originally shown."
(interactive) (interactive)
(save-excursion (save-excursion
(notmuch-show-move-to-current-message-summary-line) (notmuch-show-move-to-current-message-summary-line)
(next-line) (forward-line)
(unless (button-at (point)) (unless (button-at (point))
(notmuch-show-next-button)) (notmuch-show-next-button))
(push-button)) (push-button))