diff options
| author | Richard M. Stallman | 1993-11-15 09:23:34 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-15 09:23:34 +0000 |
| commit | 76766f2d878535868d9fa3e957a9a25849d45c23 (patch) | |
| tree | 8fbf1e27d785756ffff035e2954d842e599e9f33 | |
| parent | e8997612fd087f34c7fab09cbfc4c7978fd9474a (diff) | |
| download | emacs-76766f2d878535868d9fa3e957a9a25849d45c23.tar.gz emacs-76766f2d878535868d9fa3e957a9a25849d45c23.zip | |
(describe-project): New function, on C-h C-p.
(help-for-help): Add C-p. Refer to help-command, not
help-for-help, in the \\[...].
| -rw-r--r-- | lisp/help.el | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el index 8fab40e3d29..2e560892023 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -44,6 +44,7 @@ | |||
| 44 | (define-key help-map "\C-c" 'describe-copying) | 44 | (define-key help-map "\C-c" 'describe-copying) |
| 45 | (define-key help-map "\C-d" 'describe-distribution) | 45 | (define-key help-map "\C-d" 'describe-distribution) |
| 46 | (define-key help-map "\C-w" 'describe-no-warranty) | 46 | (define-key help-map "\C-w" 'describe-no-warranty) |
| 47 | (define-key help-map "\C-p" 'describe-project) | ||
| 47 | (define-key help-map "a" 'command-apropos) | 48 | (define-key help-map "a" 'command-apropos) |
| 48 | 49 | ||
| 49 | (define-key help-map "b" 'describe-bindings) | 50 | (define-key help-map "b" 'describe-bindings) |
| @@ -201,6 +202,13 @@ describes the minor mode." | |||
| 201 | (expand-file-name "COPYING" data-directory)) | 202 | (expand-file-name "COPYING" data-directory)) |
| 202 | (goto-char (point-min))) | 203 | (goto-char (point-min))) |
| 203 | 204 | ||
| 205 | (defun describe-project () | ||
| 206 | "Display info on the GNU project." | ||
| 207 | (interactive) | ||
| 208 | (find-file-read-only | ||
| 209 | (expand-file-name "GNU" data-directory)) | ||
| 210 | (goto-char (point-min))) | ||
| 211 | |||
| 204 | (defun describe-no-warranty () | 212 | (defun describe-no-warranty () |
| 205 | "Display info on all the kinds of warranty Emacs does NOT have." | 213 | "Display info on all the kinds of warranty Emacs does NOT have." |
| 206 | (interactive) | 214 | (interactive) |
| @@ -245,8 +253,8 @@ of the key sequence that ran this command." | |||
| 245 | (print-help-return-message))) | 253 | (print-help-return-message))) |
| 246 | 254 | ||
| 247 | (make-help-screen help-for-help | 255 | (make-help-screen help-for-help |
| 248 | "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. Type \\[help-for-help] again for more help: " | 256 | "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. Type \\[help-command] again for more help: " |
| 249 | "You have typed \\[help-for-help], the help character. Type a Help option: | 257 | "You have typed \\[help-command], the help character. Type a Help option: |
| 250 | 258 | ||
| 251 | a command-apropos. Give a substring, and see a list of commands | 259 | a command-apropos. Give a substring, and see a list of commands |
| 252 | (functions interactively callable) that contain | 260 | (functions interactively callable) that contain |
| @@ -276,6 +284,7 @@ w where-is. Type command name; it prints which keystrokes | |||
| 276 | C-c print Emacs copying permission (General Public License). | 284 | C-c print Emacs copying permission (General Public License). |
| 277 | C-d print Emacs ordering information. | 285 | C-d print Emacs ordering information. |
| 278 | C-n print news of recent Emacs changes. | 286 | C-n print news of recent Emacs changes. |
| 287 | C-p print information about the GNU project. | ||
| 279 | C-w print information on absence of warranty for GNU Emacs." | 288 | C-w print information on absence of warranty for GNU Emacs." |
| 280 | help-map) | 289 | help-map) |
| 281 | 290 | ||