aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-03-25 00:43:10 +0000
committerRichard M. Stallman2002-03-25 00:43:10 +0000
commit35208b42393afa804063657fde8a39f5b70d4a8b (patch)
treea5c43b1037242d3a51d217b262ebadff20d8801c
parented1086b7ac012656e0a31881b151b985607cf9eb (diff)
downloademacs-35208b42393afa804063657fde8a39f5b70d4a8b.tar.gz
emacs-35208b42393afa804063657fde8a39f5b70d4a8b.zip
(Type Keywords): Minor corrections and cleanups.
-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
943the third argument is the event leading to the change, if any. 943the third argument is the event leading to the change, if any.
944 944
945@item :menu-tag 945@item :menu-tag
946Tag used in the menu when the widget is used as an option in a 946A tag used in the menu when the widget is used as an option in a
947@code{menu-choice} widget. 947@code{menu-choice} widget.
948 948
949@item :menu-tag-get 949@item :menu-tag-get
950Function used for finding the tag when the widget is used as an option 950A function used for finding the tag when the widget is used as an option
951in a @code{menu-choice} widget. By default, the tag used will be either the 951in a @code{menu-choice} widget. By default, the tag used will be either the
952@code{:menu-tag} or @code{:tag} property if present, or the @code{princ} 952@code{:menu-tag} or @code{:tag} property if present, or the @code{princ}
953representation of the @code{:value} property if not. 953representation of the @code{:value} property if not.
954 954
955@item :validate 955@item :validate
956A function which takes a widget as an argument, and return nil if the 956A function which takes a widget as an argument, and return @code{nil}
957widgets current value is valid for the widget. Otherwise, it should 957if the widget's current value is valid for the widget. Otherwise, it
958return the widget containing the invalid data, and set that widgets 958should return the widget containing the invalid data, and set that
959@code{:error} property to a string explaining the error. 959widget's @code{:error} property to a string explaining the error.
960 960
961You can use the function @code{widget-children-validate} for this job; 961You can use the function @code{widget-children-validate} for this job;
962it tests that all children of @var{widget} are valid. 962it tests that all children of @var{widget} are valid.