From: Stefan Monnier Date: Thu, 14 Jul 2016 18:56:38 +0000 (-0400) Subject: Include cl-generic in package--builtin-versions (bug#22817) X-Git-Tag: emacs-25.1-rc1~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=248d5dd;p=emacs.git Include cl-generic in package--builtin-versions (bug#22817) * lisp/emacs-lisp/cl-generic.el (package--builtin-versions): Add ourselves manually. Don't merge since there's a better fix on master. --- diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 37edf45df38..e5bab8dba99 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -86,6 +86,11 @@ ;;; Code: +;; The autoloads.el mechanism which adds package--builtin-versions +;; maintenance to loaddefs.el doesn't work for preloaded packages (such +;; as this one), so we have to do it by hand! +(push (purecopy '(cl-generic 1 0)) package--builtin-versions) + ;; Note: For generic functions that dispatch on several arguments (i.e. those ;; which use the multiple-dispatch feature), we always use the same "tagcodes" ;; and the same set of arguments on which to dispatch. This works, but is