aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-30 01:43:37 +0000
committerRichard M. Stallman1994-03-30 01:43:37 +0000
commit2fc9d9f46216e0aeb6a2c0a07c1ad740e4f2b31c (patch)
tree3ee4fbba5d78d31c7f2a1b76b9063ce642d92de0
parent5ef470be66cfc476d7fef01c881b319776e544b1 (diff)
downloademacs-2fc9d9f46216e0aeb6a2c0a07c1ad740e4f2b31c.tar.gz
emacs-2fc9d9f46216e0aeb6a2c0a07c1ad740e4f2b31c.zip
(help): New alias.
(help-for-help): Mention help character. (help-quit): New command. (help-map): Bind `q'.
-rw-r--r--lisp/help.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el
index acecb29bc07..82a158f699a 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -77,6 +77,12 @@
77 77
78(define-key help-map "v" 'describe-variable) 78(define-key help-map "v" 'describe-variable)
79 79
80(define-key help-map "q" 'help-quit)
81
82(defun help-quit ()
83 (interactive)
84 nil)
85
80(defun help-with-tutorial () 86(defun help-with-tutorial ()
81 "Select the Emacs learn-by-doing tutorial." 87 "Select the Emacs learn-by-doing tutorial."
82 (interactive) 88 (interactive)
@@ -259,10 +265,12 @@ of the key sequence that ran this command."
259 (insert "\n"))) 265 (insert "\n")))
260 (print-help-return-message))) 266 (print-help-return-message)))
261 267
268(defalias 'help 'help-for-help)
262(make-help-screen help-for-help 269(make-help-screen help-for-help
263 "a b c f C-f i k C-k l m n p s t v w C-c C-d C-n C-w, or ? for more help:" 270 "a b c f C-f i k C-k l m n p s t v w C-c C-d C-n C-w, or ? for more help:"
264 "You have typed \\[help-command], the help character. Type a Help option: 271 "You have typed \\[help-command], the help character. Type a Help option:
265\(Use \\<help-map>\\[scroll-up] or \\[scroll-down] to scroll through this text.) 272\(Use \\<help-map>\\[scroll-up] or \\[scroll-down] to scroll through this text.
273Type \\<help-map>\\[help-quit] to exit the Help command.)
266 274
267a command-apropos. Give a substring, and see a list of commands 275a command-apropos. Give a substring, and see a list of commands
268 (functions interactively callable) that contain 276 (functions interactively callable) that contain