mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(momentary-string-display): Handle any event when flushing the display.
This commit is contained in:
parent
1614c867a7
commit
3547c85556
@ -348,7 +348,7 @@ If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
|
||||
(setq insert-end (point)))
|
||||
(message (or message "Type %s to continue editing.")
|
||||
(single-key-description exit-char))
|
||||
(let ((char (read-char)))
|
||||
(let ((char (read-event)))
|
||||
(or (eq char exit-char)
|
||||
(setq unread-command-events (list char)))))
|
||||
(if insert-end
|
||||
|
Loading…
Reference in New Issue
Block a user