* customize.texi (Type Keywords): Clarify that :value provides a
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 2 Jul 2011 13:36:11 +0000 (15:36 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sat, 2 Jul 2011 13:36:11 +0000 (15:36 +0200)
default value for all types.

Fixes: debbugs:7386

doc/lispref/ChangeLog
doc/lispref/customize.texi

index 8cea06e..d458dcc 100644 (file)
@@ -1,5 +1,8 @@
 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * customize.texi (Type Keywords): Clarify that :value provides a
+       default value for all types (bug#7386).
+
        * streams.texi (Output Functions): Document `pp'.
 
 2011-06-25  Chong Yidong  <cyd@stupidchicken.com>
index e58c8c2..cb32d0e 100644 (file)
@@ -1035,7 +1035,12 @@ meanings:
 
 @table @code
 @item :value @var{default}
-This is used for a type that appears as an alternative inside of
+Provide a default value.
+
+If @code{nil} is not a valid value for the alternative, then it is
+essential to specify a valid default with @code{:value}.
+
+If you use this for a type that appears as an alternative inside of
 @code{choice}; it specifies the default value to use, at first, if and
 when the user selects this alternative with the menu in the
 customization buffer.
@@ -1043,9 +1048,6 @@ customization buffer.
 Of course, if the actual value of the option fits this alternative, it
 will appear showing the actual value, not @var{default}.
 
-If @code{nil} is not a valid value for the alternative, then it is
-essential to specify a valid default with @code{:value}.
-
 @item :format @var{format-string}
 @kindex format@r{, customization keyword}
 This string will be inserted in the buffer to represent the value