New function read-char-choice for reading a restricted set of chars.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:17:23 +0000 (14:17 -0500)
commit3ef01959de6b49dc0db5a930154a6f915f7a2678
tree95b381cc5682669617e588cce68d3a6c14b65637
parent72427c46a78c9cf87a4aa51bcbfc7372e32b66cb
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.
etc/NEWS
lisp/ChangeLog
lisp/dired-aux.el
lisp/dired.el
lisp/files.el
lisp/subr.el