From: Juri Linkov Date: Fri, 2 May 2008 01:04:16 +0000 (+0000) Subject: Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes. X-Git-Tag: emacs-pretest-23.0.90~5897 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9b0825479edbb171b5c627fb8fb9bff8eaa7091;p=emacs.git Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes. --- diff --git a/etc/NEWS b/etc/NEWS index d04d628febe..7e801538b46 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -715,6 +715,12 @@ for the list of extra keys that are available. * 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'.