diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-01-08 14:17:23 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-01-08 14:17:23 -0500 |
commit | 3ef01959de6b49dc0db5a930154a6f915f7a2678 (patch) | |
tree | 95b381cc5682669617e588cce68d3a6c14b65637 /etc | |
parent | 72427c46a78c9cf87a4aa51bcbfc7372e32b66cb (diff) | |
download | emacs-3ef01959de6b49dc0db5a930154a6f915f7a2678.tar.gz |
New function read-char-choice for reading a restricted set of chars.
* lisp/subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.
* lisp/dired-aux.el (dired-query):
* lisp/files.el (hack-local-variables-confirm): Use it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -662,6 +662,9 @@ sc.el, x-menu.el, rnews.el, rnewspost.el * Lisp changes in Emacs 24.1 +** New function `read-char-choice' reads a restricted set of characters, +discarding any inputs not inside the set. + ** `y-or-n-p' and `yes-or-no-p' now accept format string arguments. ** `image-library-alist' is renamed to `dynamic-library-alist'. |