]> git.eshelyaron.com Git - emacs.git/commit
Handle calling read-char-from-minibuffer and y-or-n-p from pre-command-hook
authorJuri Linkov <juri@linkov.net>
Sun, 6 Dec 2020 21:07:36 +0000 (23:07 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 6 Dec 2020 21:09:07 +0000 (23:09 +0200)
commit5204c7420b2e4dd2080c33796c987d67e44f5597
tree7fb2b80335b01533946de5756930d7486a767adc
parent40e11743ca3803bdc2c6c612f35ab695efb3eb8b
Handle calling read-char-from-minibuffer and y-or-n-p from pre-command-hook

* lisp/subr.el (read-char-from-minibuffer-insert-char)
(read-char-from-minibuffer-insert-other, y-or-n-p-insert-y)
(y-or-n-p-insert-n, y-or-n-p-insert-other):
Check for 'minibufferp' before executing the body.
(read-char-from-minibuffer, y-or-n-p): Let-bind this-command
before calling read-from-minibuffer.  (Bug#45029)
lisp/subr.el