]> code.delx.au - gnu-emacs/commitdiff
* lisp/custom.el (defcustom): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Thu, 28 Jan 2016 22:45:50 +0000 (17:45 -0500)
committerGlenn Morris <rgm@gnu.org>
Thu, 28 Jan 2016 22:45:50 +0000 (17:45 -0500)
* doc/lispref/customize.texi (Variable Definitions):
Defcustom should always have a type.

doc/lispref/customize.texi
lisp/custom.el

index 1f207dce8237933c40fd8ef4f60504ca59cfb99c..994c346331f929f9910f33778b321106611df9cf 100644 (file)
@@ -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}
index f84aed2b1354121d87c1814599bb6ce9aec59ff4..550ba440c0f00f354db0e299f8de0e79687419c5 100644 (file)
@@ -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