summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-07-12 22:57:11 +0000
committerRichard M. Stallman <rms@gnu.org>2002-07-12 22:57:11 +0000
commitd009b6e905fe137ab8918772f884eff40e1da12b (patch)
tree6c11c861734cfb058f7dfd25449e034d37963ef5 /lisp/help.el
parent32a86c99bdc870e2b0a6d35277e4fea1c4080283 (diff)
downloademacs-d009b6e905fe137ab8918772f884eff40e1da12b.tar.gz
(help-map): Add binding for info-emacs-manual.
(print-help-return-message): Doc fix.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 78280f55f5e..6e5060629e1 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -98,6 +98,8 @@
(autoload 'finder-by-keyword "finder"
"Find packages matching a given keyword." t)
+(define-key help-map "r" 'info-emacs-manual)
+
(define-key help-map "s" 'describe-syntax)
(define-key help-map "t" 'help-with-tutorial)
@@ -123,8 +125,9 @@ This is a list
(defun print-help-return-message (&optional function)
"Display or return message saying how to restore windows after help command.
-Computes a message and applies the optional argument FUNCTION to it.
-If FUNCTION is nil, applies `message' to it, thus printing it."
+This function assumes that `standard-output' is the help buffer.
+It computes a message, and applies the optional argument FUNCTION to it.
+If FUNCTION is nil, it applies `message', thus displaying the message."
(and (not (get-buffer-window standard-output))
(let ((first-message
(cond ((special-display-p (buffer-name standard-output))