Mercurial > emacs
comparison lispref/tips.texi @ 65386:95aa6fb80959
(Programming Tips): Correct the "default" prompt spec.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 09 Sep 2005 01:37:33 +0000 |
parents | 77b6aaba307a |
children | 62934d7c890f 10fe5fadaf89 |
comparison
equal
deleted
inserted
replaced
65385:4157ef312647 | 65386:95aa6fb80959 |
---|---|
384 When you mention a default value in a minibuffer prompt, | 384 When you mention a default value in a minibuffer prompt, |
385 put it and the word @samp{default} inside parentheses. | 385 put it and the word @samp{default} inside parentheses. |
386 It should look like this: | 386 It should look like this: |
387 | 387 |
388 @example | 388 @example |
389 Enter the answer: (default 42) | 389 Enter the answer (default 42): |
390 @end example | 390 @end example |
391 | 391 |
392 @item | 392 @item |
393 In @code{interactive}, if you use a Lisp expression to produce a list | 393 In @code{interactive}, if you use a Lisp expression to produce a list |
394 of arguments, don't try to provide the ``correct'' default values for | 394 of arguments, don't try to provide the ``correct'' default values for |