aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2007-06-11 05:12:38 +0000
committerRichard M. Stallman2007-06-11 05:12:38 +0000
commitf0fc85830bcfcbfdba13f4f83bf3897f19d9926c (patch)
treea30c4a59f1de6b3c8f4faf1d9353fd186e0a044e
parentf9de989afe81556afb49d655a8b7bda179e6c4e2 (diff)
downloademacs-f0fc85830bcfcbfdba13f4f83bf3897f19d9926c.tar.gz
emacs-f0fc85830bcfcbfdba13f4f83bf3897f19d9926c.zip
(custom-variable-type): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/cus-edit.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 569064d7910..f5b63f37570 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12007-06-11 Richard Stallman <rms@gnu.org>
2
3 * cus-edit.el (custom-variable-type): Doc fix.
4
12007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change) 52007-06-09 Alfred M. Szmidt <ams@gnu.org> (tiny change)
2 6
3 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo. 7 * mail/rmail.el (rmail-movemail-variant-in-use): Fix doc typo.
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 4dae3bab018..0984fc73e43 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -2500,7 +2500,8 @@ However, setting it through Custom sets the default value.")
2500(defun custom-variable-type (symbol) 2500(defun custom-variable-type (symbol)
2501 "Return a widget suitable for editing the value of SYMBOL. 2501 "Return a widget suitable for editing the value of SYMBOL.
2502If SYMBOL has a `custom-type' property, use that. 2502If SYMBOL has a `custom-type' property, use that.
2503Otherwise, look up symbol in `custom-guess-type-alist'." 2503Otherwise, try matching SYMBOL against `custom-guess-name-alist' and
2504try matching its doc string against `custom-guess-doc-alist'."
2504 (let* ((type (or (get symbol 'custom-type) 2505 (let* ((type (or (get symbol 'custom-type)
2505 (and (not (get symbol 'standard-value)) 2506 (and (not (get symbol 'standard-value))
2506 (custom-guess-type symbol)) 2507 (custom-guess-type symbol))