diff options
| author | Eric S. Raymond | 1993-03-11 07:55:27 +0000 |
|---|---|---|
| committer | Eric S. Raymond | 1993-03-11 07:55:27 +0000 |
| commit | 06b98c510cb84d2b99392b861c3b2d6bb2e4da29 (patch) | |
| tree | aca421f8396c2ea8eac09cc3ec0d93e940c1806f | |
| parent | 06ddfb244197f4cc91c2267d1b9002aa7fbe3013 (diff) | |
| download | emacs-06b98c510cb84d2b99392b861c3b2d6bb2e4da29.tar.gz emacs-06b98c510cb84d2b99392b861c3b2d6bb2e4da29.zip | |
Added autoload, binding and menu line for new finder feature (P).
| -rw-r--r-- | lisp/help.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index 3be32b6ce57..81f1ec83043 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -56,6 +56,9 @@ | |||
| 56 | (define-key help-map "\C-n" 'view-emacs-news) | 56 | (define-key help-map "\C-n" 'view-emacs-news) |
| 57 | (define-key help-map "n" 'view-emacs-news) | 57 | (define-key help-map "n" 'view-emacs-news) |
| 58 | 58 | ||
| 59 | (define-key help-map "p" 'finder-by-keyword) | ||
| 60 | (autoload 'finder-by-keyword "finder.el") | ||
| 61 | |||
| 59 | (define-key help-map "s" 'describe-syntax) | 62 | (define-key help-map "s" 'describe-syntax) |
| 60 | 63 | ||
| 61 | (define-key help-map "t" 'help-with-tutorial) | 64 | (define-key help-map "t" 'help-with-tutorial) |
| @@ -216,6 +219,7 @@ L view-lossage. Shows last 100 characters you typed. | |||
| 216 | M describe-mode. Print documentation of current major mode, | 219 | M describe-mode. Print documentation of current major mode, |
| 217 | which describes the commands peculiar to it. | 220 | which describes the commands peculiar to it. |
| 218 | N view-emacs-news. Shows emacs news file. | 221 | N view-emacs-news. Shows emacs news file. |
| 222 | P finder-by-keyword. Find packages matching a given topic keyword. | ||
| 219 | S describe-syntax. Display contents of syntax table, plus explanations | 223 | S describe-syntax. Display contents of syntax table, plus explanations |
| 220 | T help-with-tutorial. Select the Emacs learn-by-doing tutorial. | 224 | T help-with-tutorial. Select the Emacs learn-by-doing tutorial. |
| 221 | V describe-variable. Type name of a variable; | 225 | V describe-variable. Type name of a variable; |
| @@ -228,7 +232,7 @@ C-n print news of recent Emacs changes. | |||
| 228 | C-w print information on absence of warranty for GNU Emacs." | 232 | C-w print information on absence of warranty for GNU Emacs." |
| 229 | (interactive) | 233 | (interactive) |
| 230 | (message (substitute-command-keys | 234 | (message (substitute-command-keys |
| 231 | "A B C F I K L M N S T V W C-c C-d C-n C-w. Type \\[help-for-help] again for more help: ")) | 235 | "A B C F I K L M N P S T V W C-c C-d C-n C-w. Type \\[help-for-help] again for more help: ")) |
| 232 | (let ((char (read-char))) | 236 | (let ((char (read-char))) |
| 233 | (if (or (= char help-char) (= char ??)) | 237 | (if (or (= char help-char) (= char ??)) |
| 234 | (save-window-excursion | 238 | (save-window-excursion |
| @@ -242,7 +246,7 @@ C-w print information on absence of warranty for GNU Emacs." | |||
| 242 | (scroll-up)) | 246 | (scroll-up)) |
| 243 | (if (memq char '(?\177 ?\M-v)) | 247 | (if (memq char '(?\177 ?\M-v)) |
| 244 | (scroll-down)) | 248 | (scroll-down)) |
| 245 | (message "A B C F I K L M N S T V W C-c C-d C-n C-w%s: " | 249 | (message "A B C F I K L M N P S T V W C-c C-d C-n C-w%s: " |
| 246 | (if (pos-visible-in-window-p (point-max)) | 250 | (if (pos-visible-in-window-p (point-max)) |
| 247 | "" " or Space to scroll")) | 251 | "" " or Space to scroll")) |
| 248 | (let ((cursor-in-echo-area t)) | 252 | (let ((cursor-in-echo-area t)) |