# HG changeset patch # User Juri Linkov # Date 1209690256 0 # Node ID 92e6b5d0dd28f8a61990b1eb4de5bffad1c2c4e6 # Parent b65258bcae709d8bf391cf93460c592890d07220 Add the argument DEFAULT of minibuffer input functions to Incompatible Lisp Changes. diff -r b65258bcae70 -r 92e6b5d0dd28 etc/NEWS --- 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'.