mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* lisp/custom.el (defcustom): Doc fix.
* doc/lispref/customize.texi (Variable Definitions): Defcustom should always have a type.
This commit is contained in:
parent
af5cff969e
commit
c51943d71d
@ -334,7 +334,8 @@ macro accepts the following keywords:
|
||||
@item :type @var{type}
|
||||
Use @var{type} as the data type for this option. It specifies which
|
||||
values are legitimate, and how to display the value
|
||||
(@pxref{Customization Types}).
|
||||
(@pxref{Customization Types}). Every @code{defcustom} should specify
|
||||
a value for this keyword.
|
||||
|
||||
@item :options @var{value-list}
|
||||
@kindex options@r{, @code{defcustom} keyword}
|
||||
|
@ -224,6 +224,7 @@ The remaining arguments to `defcustom' should have the form
|
||||
The following keywords are meaningful:
|
||||
|
||||
:type VALUE should be a widget type for editing the symbol's value.
|
||||
Every `defcustom' should specify a value for this keyword.
|
||||
:options VALUE should be a list of valid members of the widget type.
|
||||
:initialize
|
||||
VALUE should be a function used to initialize the
|
||||
|
Loading…
Reference in New Issue
Block a user