diff options
| author | Chong Yidong | 2011-01-08 14:17:23 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-08 14:17:23 -0500 |
| commit | 3ef01959de6b49dc0db5a930154a6f915f7a2678 (patch) | |
| tree | 95b381cc5682669617e588cce68d3a6c14b65637 /etc | |
| parent | 72427c46a78c9cf87a4aa51bcbfc7372e32b66cb (diff) | |
| download | emacs-3ef01959de6b49dc0db5a930154a6f915f7a2678.tar.gz emacs-3ef01959de6b49dc0db5a930154a6f915f7a2678.zip | |
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 | |||
| 662 | 662 | ||
| 663 | * Lisp changes in Emacs 24.1 | 663 | * Lisp changes in Emacs 24.1 |
| 664 | 664 | ||
| 665 | ** New function `read-char-choice' reads a restricted set of characters, | ||
| 666 | discarding any inputs not inside the set. | ||
| 667 | |||
| 665 | ** `y-or-n-p' and `yes-or-no-p' now accept format string arguments. | 668 | ** `y-or-n-p' and `yes-or-no-p' now accept format string arguments. |
| 666 | 669 | ||
| 667 | ** `image-library-alist' is renamed to `dynamic-library-alist'. | 670 | ** `image-library-alist' is renamed to `dynamic-library-alist'. |