* lisp/emacs-lisp/map-ynp.el (read-answer): Use [remap self-insert-command]

This reverts the last change that replaced [remap self-insert-command]
with [t].  The user should have freedom of using any command
in the minibuffer.  (bug#32738)
This commit is contained in:
Juri Linkov 2019-12-10 01:53:16 +02:00
parent 5063e38921
commit d8d537e173

View file

@ -345,7 +345,7 @@ When `use-dialog-box' is t, pop up a dialog window to get user input."
(delete-minibuffer-contents)
(insert (nth 0 a))
(exit-minibuffer))))
(define-key map [t]
(define-key map [remap self-insert-command]
(lambda ()
(interactive)
(delete-minibuffer-contents)