Executive summary: I screwed up.
2014-11-10  Michael Sperber  <mike(a)xemacs.org>
	* 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
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches