374 |
with a period. |
with a period. |
375 |
|
|
376 |
@item |
@item |
377 |
|
A question asked in the minibuffer with @code{y-or-n-p} or |
378 |
|
@code{yes-or-no-p} should start with a capital letter and end with |
379 |
|
@samp{? }. |
380 |
|
|
381 |
|
@item |
382 |
|
When you mention a default value in a minibuffer prompt, |
383 |
|
put it and the word @samp{default} inside parentheses. |
384 |
|
It should look like this: |
385 |
|
|
386 |
|
@example |
387 |
|
Enter the answer: (default 42) |
388 |
|
@end example |
389 |
|
|
390 |
|
@item |
391 |
In @code{interactive}, if you use a Lisp expression to produce a list |
In @code{interactive}, if you use a Lisp expression to produce a list |
392 |
of arguments, don't try to provide the ``correct'' default values for |
of arguments, don't try to provide the ``correct'' default values for |
393 |
region or position arguments. Instead, provide @code{nil} for those |
region or position arguments. Instead, provide @code{nil} for those |