master d0653e8f094: lisp/custom.el (custom-declare-variable): Fix thinko
Stefan Monnier via Mailing list for Emacs changes <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: master commit d0653e8f094ca1b4e5b69b0ed3f64ae47cd56571 Author: Stefan Monnier <[email protected]> Commit: Stefan Monnier <[email protected]> lisp/custom.el (custom-declare-variable): Fix thinko --- lisp/custom.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/custom.el b/lisp/custom.el index e7abbe356ed..efc29c499c1 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -240,7 +240,7 @@ set to nil, as the value is no longer rogue." (when (and type ;; Check that the type is correct. (not (widget-apply (widget-convert type) - :match (car value)))) + :match value))) (warn "Value previously set by setopt did not match %S's type %S:\n%S" symbol type value)))) ;; Do the actual initialization.