projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5063e38
)
* lisp/emacs-lisp/map-ynp.el (read-answer): Use [remap self-insert-command]
author
Juri Linkov
<juri@linkov.net>
Mon, 9 Dec 2019 23:53:16 +0000
(
01:53
+0200)
committer
Juri Linkov
<juri@linkov.net>
Mon, 9 Dec 2019 23:53:16 +0000
(
01:53
+0200)
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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/map-ynp.el
b/lisp/emacs-lisp/map-ynp.el
index a83e2f1bfd006b7228d48b7c39d03b9dee9ac41a..f0c11c489a7688b7c5e2ee7eb4f635540b9c28da 100644
(file)
--- 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)