]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
notmuch.h: Fix a couple of typos in the documentation.
[notmuch] / notmuch.el
index e8a9b78fb7fefb87f88031ed33c65d6163cb9192..5ef38ce589f70aa93b42b13c2a426c635efbe4c8 100644 (file)
@@ -564,12 +564,12 @@ which this thread was originally shown."
 (defun notmuch-show-next-button ()
   "Advance point to the next button in the buffer."
   (interactive)
-  (goto-char (button-start (next-button (point)))))
+  (forward-button 1))
 
 (defun notmuch-show-previous-button ()
   "Move point back to the previous button in the buffer."
   (interactive)
-  (goto-char (button-start (previous-button (point)))))
+  (backward-button 1))
 
 (defun notmuch-toggle-invisible-action (cite-button)
   (let ((invis-spec (button-get cite-button 'invisibility-spec)))
@@ -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))