]> git.eshelyaron.com Git - emacs.git/commit
Backport Handle read-char-from-minibuffer and y-or-n-p from pre-command-hook
authorJuri Linkov <juri@linkov.net>
Sun, 6 Dec 2020 21:12:13 +0000 (23:12 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 6 Dec 2020 21:12:13 +0000 (23:12 +0200)
commita40be60ec89d0eb75cd1e48793f85433de0d3e45
tree6692070210acdf2837260221339f6f7578bbd9ab
parent32090a3de4a32867aafeb905e5b134c72ec74175
Backport Handle 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)

; Do not merge to master.
lisp/subr.el