aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-15 09:23:34 +0000
committerRichard M. Stallman1993-11-15 09:23:34 +0000
commit76766f2d878535868d9fa3e957a9a25849d45c23 (patch)
tree8fbf1e27d785756ffff035e2954d842e599e9f33
parente8997612fd087f34c7fab09cbfc4c7978fd9474a (diff)
downloademacs-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.el13
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
251a command-apropos. Give a substring, and see a list of commands 259a 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
276C-c print Emacs copying permission (General Public License). 284C-c print Emacs copying permission (General Public License).
277C-d print Emacs ordering information. 285C-d print Emacs ordering information.
278C-n print news of recent Emacs changes. 286C-n print news of recent Emacs changes.
287C-p print information about the GNU project.
279C-w print information on absence of warranty for GNU Emacs." 288C-w print information on absence of warranty for GNU Emacs."
280 help-map) 289 help-map)
281 290