# HG changeset patch # User Richard M. Stallman # Date 1181538731 0 # Node ID 20578868cbb3272ca9744a531a55a80c6287c47d # Parent de0dc7755f94ab56abc3b838968369659f40e669 (custom-variable-type): Doc fix. diff -r de0dc7755f94 -r 20578868cbb3 lisp/cus-edit.el --- a/lisp/cus-edit.el Sun Jun 10 23:29:37 2007 +0000 +++ b/lisp/cus-edit.el Mon Jun 11 05:12:11 2007 +0000 @@ -2500,7 +2500,8 @@ (defun custom-variable-type (symbol) "Return a widget suitable for editing the value of SYMBOL. If SYMBOL has a `custom-type' property, use that. -Otherwise, look up symbol in `custom-guess-type-alist'." +Otherwise, try matching SYMBOL against `custom-guess-name-alist' and +try matching its doc string against `custom-guess-doc-alist'." (let* ((type (or (get symbol 'custom-type) (and (not (get symbol 'standard-value)) (custom-guess-type symbol))