From d8d537e17349c02d981eabd92c78f60f73354798 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 10 Dec 2019 01:53:16 +0200 Subject: [PATCH] * 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) --- lisp/emacs-lisp/map-ynp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el index a83e2f1bfd0..f0c11c489a7 100644 --- a/lisp/emacs-lisp/map-ynp.el +++ b/lisp/emacs-lisp/map-ynp.el @@ -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) -- 2.39.2