mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(make-help-screen): Explicitly translate key thru function-key-map.
This commit is contained in:
parent
7a804c76c4
commit
8902ae9e18
@ -104,9 +104,13 @@ and then returns."
|
||||
(setcdr local-map (, helped-map))
|
||||
(define-key local-map [t] 'undefined)
|
||||
(if three-step-help
|
||||
(setq key (let ((overriding-local-map local-map))
|
||||
(read-key-sequence nil))
|
||||
char (aref key 0))
|
||||
(progn
|
||||
(setq key (let ((overriding-local-map local-map))
|
||||
(read-key-sequence nil)))
|
||||
;; Make the HELP key translate to C-h.
|
||||
(if (lookup-key function-key-map key)
|
||||
(setq key (lookup-key function-key-map key)))
|
||||
(setq char (aref key 0)))
|
||||
(setq char ??))
|
||||
(if (or (eq char ??) (eq char help-char))
|
||||
(progn
|
||||
|
Loading…
Reference in New Issue
Block a user