From: Lars Ingebrigtsen Date: Sun, 31 Oct 2021 18:02:46 +0000 (+0100) Subject: Add mode tagging to previously added help commands X-Git-Tag: emacs-29.0.90~3671^2~324 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7cba7d5703e194089239838146520e31a1813813;p=emacs.git Add mode tagging to previously added help commands * lisp/help-mode.el (help-goto-previous-page): New command and key binding. (help-goto-previous-page): Ditto. --- diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 83e783bdd73..b76c7dadaf8 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el @@ -811,7 +811,7 @@ See `help-make-xrefs'." (defun help-goto-next-page () "Go to the next page (if any) in the current buffer. The help buffers are divided into \"pages\" by the ^L character." - (interactive) + (interactive nil help-mode) (push-mark) (forward-page) (unless (eobp) @@ -822,7 +822,7 @@ The help buffers are divided into \"pages\" by the ^L character." (If not at the start of a page, go to the start of the current page.) The help buffers are divided into \"pages\" by the ^L character." - (interactive) + (interactive nil help-mode) (push-mark) (backward-page (if (looking-back "\f\n" (- (point) 5)) 2 1)) (unless (bobp)