>>>> "Hrvoje" == Hrvoje Niksic
<hniksic(a)srce.hr> writes:
Hrvoje> Yikes, this is because the docstring begins with
Hrvoje> "Non-nil", and confuses the Customize guessing code. Set
Hrvoje> (or change) `custom-guess-doc-alist' to work around the
Hrvoje> problem.
Thanks. In this case, isn't changing `custom-guess-name-alist'
better?
There was a typo in the docstring for `custom-guess-doc-alist'. Also
I think it's useful to point to `custom-guess-type' to understand the
precedence for both of these variables.
I think that there should be a pointer to a documentation to a list of
types in these docs somewhere; maybe it should go in the docstring of
`custom-guess-type'?
1998-05-01 Stephen J. Turnbull <turnbull(a)sk.tsukuba.ac.jp>
* cus-edit.el (custom-guess-doc-alist, custom-guess-name-alist):
Fix typo in and improve docstrings.
Index: cus-edit.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/lisp/cus-edit.el,v
retrieving revision 1.7
diff -u -r1.7 cus-edit.el
--- cus-edit.el 1997/12/21 06:28:55 1.7
+++ cus-edit.el 1998/04/30 13:25:58
@@ -424,7 +424,7 @@
used.
This is used for guessing the type of variables not declared with
-customize."
+customize. See `custom-guess-type' for usage."
:type '(repeat (group (regexp :tag "Match") (sexp :tag
"Type")))
:group 'customize)
@@ -435,10 +435,10 @@
MATCH should be a regexp matching a documentation string, and TYPE
should be a widget suitable for editing the value of a variable with
that documentation string. The TYPE of the first entry where MATCH
-matches the name of the symbol will be used.
+matches the documentation string of the symbol will be used.
This is used for guessing the type of variables not declared with
-customize."
+customize. See `custom-guess-type' for usage."
:type '(repeat (group (regexp :tag "Match") (sexp :tag
"Type")))
:group 'customize)