Mercurial > emacs
changeset 77997:20578868cbb3
(custom-variable-type): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 11 Jun 2007 05:12:11 +0000 |
parents | de0dc7755f94 |
children | 71120e9b162d |
files | lisp/cus-edit.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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))