mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
* lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)
This commit is contained in:
parent
a75b9a6f22
commit
5c288909b9
@ -2086,6 +2086,10 @@ some sort of escape sequence, the ambiguity is resolved via `read-key-delay'."
|
||||
(aref keys 1)
|
||||
key)))
|
||||
(cancel-timer timer)
|
||||
;; For some reason, `read-key(-sequence)' leaves the prompt in the echo
|
||||
;; area, whereas `read-event' seems to empty it just before returning
|
||||
;; (bug#22714). So, let's mimick the behavior of `read-event'.
|
||||
(message nil)
|
||||
(use-global-map old-global-map))))
|
||||
|
||||
(defvar read-passwd-map
|
||||
|
Loading…
Reference in New Issue
Block a user