aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-12 22:57:11 +0000
committerRichard M. Stallman2002-07-12 22:57:11 +0000
commitd009b6e905fe137ab8918772f884eff40e1da12b (patch)
tree6c11c861734cfb058f7dfd25449e034d37963ef5
parent32a86c99bdc870e2b0a6d35277e4fea1c4080283 (diff)
downloademacs-d009b6e905fe137ab8918772f884eff40e1da12b.tar.gz
emacs-d009b6e905fe137ab8918772f884eff40e1da12b.zip
(help-map): Add binding for info-emacs-manual.
(print-help-return-message): Doc fix.
-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 @@
98(autoload 'finder-by-keyword "finder" 98(autoload 'finder-by-keyword "finder"
99 "Find packages matching a given keyword." t) 99 "Find packages matching a given keyword." t)
100 100
101(define-key help-map "r" 'info-emacs-manual)
102
101(define-key help-map "s" 'describe-syntax) 103(define-key help-map "s" 'describe-syntax)
102 104
103(define-key help-map "t" 'help-with-tutorial) 105(define-key help-map "t" 'help-with-tutorial)
@@ -123,8 +125,9 @@ This is a list
123 125
124(defun print-help-return-message (&optional function) 126(defun print-help-return-message (&optional function)
125 "Display or return message saying how to restore windows after help command. 127 "Display or return message saying how to restore windows after help command.
126Computes a message and applies the optional argument FUNCTION to it. 128This function assumes that `standard-output' is the help buffer.
127If FUNCTION is nil, applies `message' to it, thus printing it." 129It computes a message, and applies the optional argument FUNCTION to it.
130If FUNCTION is nil, it applies `message', thus displaying the message."
128 (and (not (get-buffer-window standard-output)) 131 (and (not (get-buffer-window standard-output))
129 (let ((first-message 132 (let ((first-message
130 (cond ((special-display-p (buffer-name standard-output)) 133 (cond ((special-display-p (buffer-name standard-output))