summaryrefslogtreecommitdiff
path: root/lispref/customize.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-03-25 00:43:10 +0000
committerRichard M. Stallman <rms@gnu.org>2002-03-25 00:43:10 +0000
commit35208b42393afa804063657fde8a39f5b70d4a8b (patch)
treea5c43b1037242d3a51d217b262ebadff20d8801c /lispref/customize.texi
parented1086b7ac012656e0a31881b151b985607cf9eb (diff)
downloademacs-35208b42393afa804063657fde8a39f5b70d4a8b.tar.gz
(Type Keywords): Minor corrections and cleanups.
Diffstat (limited to 'lispref/customize.texi')
-rw-r--r--lispref/customize.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/lispref/customize.texi b/lispref/customize.texi
index e94c6ae1a90..1a5ba157789 100644
--- a/lispref/customize.texi
+++ b/lispref/customize.texi
@@ -943,20 +943,20 @@ the item itself, the second argument is the item that was changed, and
the third argument is the event leading to the change, if any.
@item :menu-tag
-Tag used in the menu when the widget is used as an option in a
+A tag used in the menu when the widget is used as an option in a
@code{menu-choice} widget.
@item :menu-tag-get
-Function used for finding the tag when the widget is used as an option
+A function used for finding the tag when the widget is used as an option
in a @code{menu-choice} widget. By default, the tag used will be either the
@code{:menu-tag} or @code{:tag} property if present, or the @code{princ}
representation of the @code{:value} property if not.
@item :validate
-A function which takes a widget as an argument, and return nil if the
-widgets current value is valid for the widget. Otherwise, it should
-return the widget containing the invalid data, and set that widgets
-@code{:error} property to a string explaining the error.
+A function which takes a widget as an argument, and return @code{nil}
+if the widget's current value is valid for the widget. Otherwise, it
+should return the widget containing the invalid data, and set that
+widget's @code{:error} property to a string explaining the error.
You can use the function @code{widget-children-validate} for this job;
it tests that all children of @var{widget} are valid.