/[emacs]/emacs/lispref/tips.texi
ViewVC logotype

Diff of /emacs/lispref/tips.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.69 by rms, Thu Aug 11 19:49:33 2005 UTC revision 1.70 by rms, Sun Sep 4 01:48:26 2005 UTC
# Line 374  An error message should start with a cap Line 374  An error message should start with a cap
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

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26