1
0
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:
Richard M. Stallman 1993-03-06 06:16:06 +00:00
parent 1614c867a7
commit 3547c85556

View File

@ -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