diff options
Diffstat (limited to 'lisp/cus-edit.el')
| -rw-r--r-- | lisp/cus-edit.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |
| 2502 | If SYMBOL has a `custom-type' property, use that. | 2502 | If SYMBOL has a `custom-type' property, use that. |
| 2503 | Otherwise, look up symbol in `custom-guess-type-alist'." | 2503 | Otherwise, try matching SYMBOL against `custom-guess-name-alist' and |
| 2504 | try 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)) |