diff options
author | Juri Linkov <juri@linkov.net> | 2019-11-10 00:21:26 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-11-10 00:21:26 +0200 |
commit | 04ab67470706f1c66bdf08e4078ea3dffd79b41e (patch) | |
tree | b8468ce0cec9f91339b964931a81026623f3daa8 /lisp/emacs-lisp/timer.el | |
parent | a26a8cc1c85f29fb11209c16d53a8ae4e4ab7ced (diff) | |
download | emacs-04ab67470706f1c66bdf08e4078ea3dffd79b41e.tar.gz emacs-04ab67470706f1c66bdf08e4078ea3dffd79b41e.tar.bz2 emacs-04ab67470706f1c66bdf08e4078ea3dffd79b41e.zip |
Add CHARS arg to read-char-from-minibuffer compatible with read-char-choice.
* lisp/simple.el (read-char-history):
Rename from read-char-from-minibuffer-history. (Bug#38076)
(read-char-from-minibuffer-insert-char):
Rename from read-char-from-minibuffer-self-insert.
(read-char-from-minibuffer-map-hash): New defconst.
(read-char-from-minibuffer-insert-other): New command.
(read-char-from-minibuffer): Add optional args CHARS and HISTORY.
(zap-to-char): Use 'read-char-history as HISTORY arg of
read-char-from-minibuffer.
* lisp/emacs-lisp/map-ynp.el (read-answer): Use sit-for instead of sleep-for.
Replace short answer history yes-or-no-p-history with read-char-history.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions