summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-06-29 02:50:52 +0000
committerRichard M. Stallman <rms@gnu.org>1995-06-29 02:50:52 +0000
commitbcf223683eb3c4e47ffe0417cd6ccb3c378ae7b9 (patch)
tree33564e73958e5a26a85d8e43a174397ab7c08d4e /lisp/help.el
parent9aabd21dcfc83c1bb86e91c85dddc191b350d50d (diff)
downloademacs-bcf223683eb3c4e47ffe0417cd6ccb3c378ae7b9.tar.gz
Bind f1 and help like C-h.
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/help.el b/lisp/help.el
index 296975f66f3..3275689fb1f 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -39,9 +39,13 @@
"Keymap for help mode.")
(define-key global-map (char-to-string help-char) 'help-command)
+(define-key global-map [help] 'help-command)
+(define-key global-map [f1] 'help-command)
(fset 'help-command help-map)
(define-key help-map (char-to-string help-char) 'help-for-help)
+(define-key help-map [help] 'help-for-help)
+(define-key help-map [f1] 'help-for-help)
(define-key help-map "?" 'help-for-help)
(define-key help-map "\C-c" 'describe-copying)