emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc elisp intro cross reference fixes


From: Luc Teirlinck
Subject: Re: doc elisp intro cross reference fixes
Date: Tue, 18 Nov 2003 23:28:53 -0600 (CST)

Stefan Monnier wrote:

   After (defcustom foobar 1 "hello"), set-variable is quite happy to
   let me set the variable `foobar'.

On second thought, I believe that is a bug.

>From (elisp)Variable Definitions:

 - Macro: defcustom option default doc [keyword value]...
     Declare OPTION as a customizable user option variable.  Do not
     quote OPTION.  The argument DOC specifies the documentation
     string for the variable.  It should often start with a `*' to
     mark it as a "user option" (*note Defining Variables::).  Do not
     start the documentation string with `*' for options which cannot
     or normally should not be set with `set-variable'; examples of
     the former are global minor mode options such as
     `global-font-lock-mode' and examples of the latter are hooks.


Sincerely,

Luc.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]