Bind f1 and help like C-h.
This commit is contained in:
parent
873dd80b92
commit
0af3df1cd6
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue