Commit 0ec389b9 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* customize.texi (Type Keywords): Clarify that :value provides a

default value for all types.

Fixes: debbugs:7386
parent e17d05e2
2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 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'. * streams.texi (Output Functions): Document `pp'.
2011-06-25 Chong Yidong <cyd@stupidchicken.com> 2011-06-25 Chong Yidong <cyd@stupidchicken.com>
......
...@@ -1035,7 +1035,12 @@ meanings: ...@@ -1035,7 +1035,12 @@ meanings:
@table @code @table @code
@item :value @var{default} @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 @code{choice}; it specifies the default value to use, at first, if and
when the user selects this alternative with the menu in the when the user selects this alternative with the menu in the
customization buffer. customization buffer.
...@@ -1043,9 +1048,6 @@ customization buffer. ...@@ -1043,9 +1048,6 @@ customization buffer.
Of course, if the actual value of the option fits this alternative, it Of course, if the actual value of the option fits this alternative, it
will appear showing the actual value, not @var{default}. 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} @item :format @var{format-string}
@kindex format@r{, customization keyword} @kindex format@r{, customization keyword}
This string will be inserted in the buffer to represent the value This string will be inserted in the buffer to represent the value
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment