Commit f37e0163 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Programming Tips): Add conventions for minibuffer questions and prompts.

parent 0c6087a6
......@@ -373,6 +373,20 @@ or @code{beep} to report errors.
An error message should start with a capital letter but should not end
with a period.
@item
A question asked in the minibuffer with @code{y-or-n-p} or
@code{yes-or-no-p} should start with a capital letter and end with
@samp{? }.
@item
When you mention a default value in a minibuffer prompt,
put it and the word @samp{default} inside parentheses.
It should look like this:
@example
Enter the answer: (default 42)
@end example
@item
In @code{interactive}, if you use a Lisp expression to produce a list
of arguments, don't try to provide the ``correct'' default values for
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment