[AC] Make :package-version in customize right.
Michael Sperber <[email protected]> Mon, 10 Nov 2014 09:38:18 +0100
| Newsgroups | gmane.emacs.xemacs.patches |
|---|---|
| Message-ID | <[email protected]> |
Executive summary: I screwed up. 2014-11-10 Michael Sperber <[email protected]> * custom.el (custom-add-package-version): The car of a :package-version is a symbol, not a string. -- Regards, Mike diff --git a/lisp/custom.el b/lisp/custom.el --- a/lisp/custom.el +++ b/lisp/custom.el @@ -523,9 +523,9 @@ (defun custom-add-package-version (symbol version) "To the custom option SYMBOL add the package version VERSION." (unless (and (consp version) - (stringp (car version)) + (symbolp (car version)) (stringp (cdr version))) - (error "Invalid package version `%s'" value)) + (error "Invalid package version `%s'" version)) (put symbol 'custom-package-version version)) (defun custom-add-load (symbol load) _______________________________________________ XEmacs-Patches mailing list [email protected] http://lists.xemacs.org/mailman/listinfo/xemacs-patches