mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(read-quoted-char): Resolve modifers of the character event.
This commit is contained in:
parent
fb26c2afce
commit
e4c3c5887b
1 changed files with 4 additions and 1 deletions
|
|
@ -1693,7 +1693,10 @@ any other non-digit terminates the character code and is then used as input."))
|
|||
;; We could try and use read-key-sequence instead, but then C-q ESC
|
||||
;; or C-q C-x might not return immediately since ESC or C-x might be
|
||||
;; bound to some prefix in function-key-map or key-translation-map.
|
||||
(setq translated char)
|
||||
(setq translated
|
||||
(if (integerp char)
|
||||
(char-resolve-modifers char)
|
||||
char))
|
||||
(let ((translation (lookup-key local-function-key-map (vector char))))
|
||||
(if (arrayp translation)
|
||||
(setq translated (aref translation 0))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue