| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Use defcustom to declare user editable variables.
doc is the variable documentation.
The following additional keyword's are defined:
:type
:options
:initialize
defcustom call.
Some predefined functions are:
custom-initialize-set
:set method to initialize the variable. Do not
initialize it if already bound. This is the default :initialize
method.
custom-initialize-default
set-default to initialize the variable, even if a
:set method has been specified.
custom-initialize-reset
:set
method with the value returned by the :get method.
custom-initialize-changed
custom-initialize-reset, but use set-default to
initialize the variable if it is not bound and has not been set
already.
:set
set-default.
:get
default-value.
:require
See section `Sexp Types' in The Widget Library, for information about
widgets to use together with the :type keyword.
Internally, custom uses the symbol property custom-type to keep
track of the variables type, standard-value for the program
specified default value, saved-value for a value saved by the
user, and variable-documentation for the documentation string.
Use custom-add-option to specify that a specific function is
useful as a member of a hook.
If symbol is a hook variable, option should be a hook member. For other types of variables, the effect is undefined."
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |