summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-12-09 01:27:29 +0200
committerJuri Linkov <juri@linkov.net>2019-12-09 01:27:29 +0200
commit51176ee81e8e773d8b6ac06dd153846abee0c0f4 (patch)
tree9c7cbb7b9f8ede0dd7988d7ee8e21b84828be25e /etc
parent7c2c24a1aa0df7cc683dbe5ab261a0b0f11b2fc0 (diff)
downloademacs-51176ee81e8e773d8b6ac06dd153846abee0c0f4.tar.gz
* lisp/emacs-lisp/map-ynp.el (read-answer): Allow more SHORT-ANSWER types.
Treat SHORT-ANSWER as a character is characterp returns non-nil. Otherwise, use key-description to print it. Use catch-all [t] in keymap instead of [remap self-insert-command]. (bug#32738)
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ff5ac5103f7..ade9fca7908 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -255,6 +255,10 @@ The default value is 30000, as the previously hard-coded threshold.
+++
** The function 'read-passwd' uses "*" as default character to hide passwords.
+** The function 'read-answer' now accepts not only single character
+answers, but also function keys like F1, character events such as C-M-h,
+and control characters like C-h.
+
** Lexical binding is now used when evaluating interactive Elisp forms.
More specifically, lexical-binding is now used for 'M-:', '--eval', as
well as in the "*scratch*" and "*ielm*" buffers.