diff options
| author | Juri Linkov | 2019-11-30 23:33:41 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-11-30 23:33:41 +0200 |
| commit | 54c792ece6c20297571aa68c613075c8a8152bcc (patch) | |
| tree | 0240d377af99d9cd709796b3fe9ed4f7351d07cb /doc/misc | |
| parent | 757e66afdc1cd4f0a261d368cafd5009e04084a4 (diff) | |
| download | emacs-54c792ece6c20297571aa68c613075c8a8152bcc.tar.gz emacs-54c792ece6c20297571aa68c613075c8a8152bcc.zip | |
* lisp/subr.el: Add discard-input to more functions.
* lisp/subr.el (read-char-from-minibuffer-insert-other)
(y-or-n-p-insert-other): Use discard-input in case of user mistake.
(do-after-load-evaluation): Add discard-input before calling 'message',
so in case of the active minibuffer, calling minibuffer-message will allow
sit-for to wait the complete timeout, because discard-input will discard
all initial events that prevent sit-for from waiting during startup.
https://lists.gnu.org/archive/html/emacs-devel/2019-11/msg00581.html
Diffstat (limited to 'doc/misc')
0 files changed, 0 insertions, 0 deletions