diff options
| author | Richard M. Stallman | 2002-03-25 00:43:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-25 00:43:10 +0000 |
| commit | 35208b42393afa804063657fde8a39f5b70d4a8b (patch) | |
| tree | a5c43b1037242d3a51d217b262ebadff20d8801c | |
| parent | ed1086b7ac012656e0a31881b151b985607cf9eb (diff) | |
| download | emacs-35208b42393afa804063657fde8a39f5b70d4a8b.tar.gz emacs-35208b42393afa804063657fde8a39f5b70d4a8b.zip | |
(Type Keywords): Minor corrections and cleanups.
| -rw-r--r-- | lispref/customize.texi | 12 |
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 | |||
| 943 | the third argument is the event leading to the change, if any. | 943 | the third argument is the event leading to the change, if any. |
| 944 | 944 | ||
| 945 | @item :menu-tag | 945 | @item :menu-tag |
| 946 | Tag used in the menu when the widget is used as an option in a | 946 | A 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 |
| 950 | Function used for finding the tag when the widget is used as an option | 950 | A function used for finding the tag when the widget is used as an option |
| 951 | in a @code{menu-choice} widget. By default, the tag used will be either the | 951 | in 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} |
| 953 | representation of the @code{:value} property if not. | 953 | representation of the @code{:value} property if not. |
| 954 | 954 | ||
| 955 | @item :validate | 955 | @item :validate |
| 956 | A function which takes a widget as an argument, and return nil if the | 956 | A function which takes a widget as an argument, and return @code{nil} |
| 957 | widgets current value is valid for the widget. Otherwise, it should | 957 | if the widget's current value is valid for the widget. Otherwise, it |
| 958 | return the widget containing the invalid data, and set that widgets | 958 | should return the widget containing the invalid data, and set that |
| 959 | @code{:error} property to a string explaining the error. | 959 | widget's @code{:error} property to a string explaining the error. |
| 960 | 960 | ||
| 961 | You can use the function @code{widget-children-validate} for this job; | 961 | You can use the function @code{widget-children-validate} for this job; |
| 962 | it tests that all children of @var{widget} are valid. | 962 | it tests that all children of @var{widget} are valid. |