emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d8d537e: * lisp/emacs-lisp/map-ynp.el (read-answer): Use [remap s


From: Juri Linkov
Subject: master d8d537e: * lisp/emacs-lisp/map-ynp.el (read-answer): Use [remap self-insert-command]
Date: Mon, 9 Dec 2019 18:53:22 -0500 (EST)

branch: master
commit d8d537e17349c02d981eabd92c78f60f73354798
Author: Juri Linkov <address@hidden>
Commit: Juri Linkov <address@hidden>

    * 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 a83e2f1..f0c11c4 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]