emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7cba7d5: Add mode tagging to previously added help commands


From: Lars Ingebrigtsen
Subject: master 7cba7d5: Add mode tagging to previously added help commands
Date: Sun, 31 Oct 2021 14:02:55 -0400 (EDT)

branch: master
commit 7cba7d5703e194089239838146520e31a1813813
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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.
---
 lisp/help-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 83e783b..b76c7da 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]