diff options
author | Juri Linkov <juri@linkov.net> | 2019-12-09 01:27:29 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-12-09 01:27:29 +0200 |
commit | 51176ee81e8e773d8b6ac06dd153846abee0c0f4 (patch) | |
tree | 9c7cbb7b9f8ede0dd7988d7ee8e21b84828be25e /etc | |
parent | 7c2c24a1aa0df7cc683dbe5ab261a0b0f11b2fc0 (diff) | |
download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |