From: Carl Worth Date: Fri, 5 Feb 2010 19:14:25 +0000 (-0800) Subject: Use forward-line instead of next-line X-Git-Tag: 0.1~110 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=78c85f053b28be0ed6c42981bc028739a98d3d93 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. --- diff --git a/notmuch.el b/notmuch.el index e8a9b78f..c2e0899e 100644 --- a/notmuch.el +++ b/notmuch.el @@ -595,7 +595,7 @@ which this thread was originally shown." (interactive) (save-excursion (notmuch-show-move-to-current-message-summary-line) - (next-line) + (forward-line) (unless (button-at (point)) (notmuch-show-next-button)) (push-button))