mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(make-help-screen): Explicitly translate key thru function-key-map.
This commit is contained in:
parent
7a804c76c4
commit
8902ae9e18
1 changed files with 7 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue