diff options
| author | Richard M. Stallman | 2002-07-12 22:57:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-12 22:57:11 +0000 |
| commit | d009b6e905fe137ab8918772f884eff40e1da12b (patch) | |
| tree | 6c11c861734cfb058f7dfd25449e034d37963ef5 | |
| parent | 32a86c99bdc870e2b0a6d35277e4fea1c4080283 (diff) | |
| download | emacs-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.el | 7 |
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. |
| 126 | Computes a message and applies the optional argument FUNCTION to it. | 128 | This function assumes that `standard-output' is the help buffer. |
| 127 | If FUNCTION is nil, applies `message' to it, thus printing it." | 129 | It computes a message, and applies the optional argument FUNCTION to it. |
| 130 | If 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)) |