]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.el
Use forward-line instead of next-line
[notmuch] / notmuch.el
index 30ab2e8f95d6aaaaf9a604df4f3cdda0b74f2919..c2e0899e5c8e7a1787c179439a530a6952127423 100644 (file)
@@ -581,7 +581,7 @@ which this thread was originally shown."
   (redisplay t))
 
 (defun notmuch-show-toggle-current-body ()
-  "Toggle the current message body."
+  "Toggle the display of the current message body."
   (interactive)
   (save-excursion
     (notmuch-show-move-to-current-message-summary-line)
@@ -591,10 +591,11 @@ which this thread was originally shown."
   )
 
 (defun notmuch-show-toggle-current-header ()
+  "Toggle the display of the current message header."
   (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))