[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104869: * customize.texi (Type Keywo
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104869: * customize.texi (Type Keywords): Clarify that :value provides a |
Date: |
Sat, 02 Jul 2011 15:36:11 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104869
fixes bug(s): http://debbugs.gnu.org/7386
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sat 2011-07-02 15:36:11 +0200
message:
* customize.texi (Type Keywords): Clarify that :value provides a
default value for all types.
modified:
doc/lispref/ChangeLog
doc/lispref/customize.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2011-07-02 13:08:07 +0000
+++ b/doc/lispref/ChangeLog 2011-07-02 13:36:11 +0000
@@ -1,5 +1,8 @@
2011-07-02 Lars Magne Ingebrigtsen <address@hidden>
+ * 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 <address@hidden>
=== modified file 'doc/lispref/customize.texi'
--- a/doc/lispref/customize.texi 2011-05-19 06:54:27 +0000
+++ b/doc/lispref/customize.texi 2011-07-02 13:36:11 +0000
@@ -1035,7 +1035,12 @@
@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 @@
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 address@hidden, customization keyword}
This string will be inserted in the buffer to represent the value
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104869: * customize.texi (Type Keywords): Clarify that :value provides a,
Lars Magne Ingebrigtsen <=