X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.el;h=5ef38ce589f70aa93b42b13c2a426c635efbe4c8;hp=30ab2e8f95d6aaaaf9a604df4f3cdda0b74f2919;hb=7a9bacac6786729d7f28495b0ef30f9b6ded7696;hpb=b0ccc88146590333eaf255e507f6e9c85598aa15 diff --git a/notmuch.el b/notmuch.el index 30ab2e8f..5ef38ce5 100644 --- a/notmuch.el +++ b/notmuch.el @@ -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))) @@ -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))