Mercurial > emacs
changeset 94532:92e6b5d0dd28
Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Fri, 02 May 2008 01:04:16 +0000 |
parents | b65258bcae70 |
children | 4bc924044f22 |
files | etc/NEWS |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Fri May 02 01:03:38 2008 +0000 +++ b/etc/NEWS Fri May 02 01:04:16 2008 +0000 @@ -715,6 +715,12 @@ * Incompatible Lisp Changes in Emacs 23.1 +** The argument DEFAULT of minibuffer input functions `read-from-minibuffer', +`read-string', `completing-read', `read-buffer', `read-command', +`read-variable' now can be a list of default values. The elements of +this list are available for inserting to the minibuffer with `M-n'. +If the user enters empty input, the first element is used as the default. + ** `functionp' returns nil for special forms. I.e., it only returns t for objects that can be passed to `funcall'.