diff options
| author | Stefan Monnier | 2016-07-14 14:56:38 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2016-07-14 14:56:38 -0400 |
| commit | 248d5dd13cd2ae0b1319a52b331e451fa7dd99c8 (patch) | |
| tree | fc6210ac985920c152c44b94e7167a0a4c66943a | |
| parent | 8f5a8b69157ed73f14faed6d3dd943d65bce9264 (diff) | |
| download | emacs-248d5dd13cd2ae0b1319a52b331e451fa7dd99c8.tar.gz emacs-248d5dd13cd2ae0b1319a52b331e451fa7dd99c8.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/cl-generic.el | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ | |||
| 86 | 86 | ||
| 87 | ;;; Code: | 87 | ;;; Code: |
| 88 | 88 | ||
| 89 | ;; The autoloads.el mechanism which adds package--builtin-versions | ||
| 90 | ;; maintenance to loaddefs.el doesn't work for preloaded packages (such | ||
| 91 | ;; as this one), so we have to do it by hand! | ||
| 92 | (push (purecopy '(cl-generic 1 0)) package--builtin-versions) | ||
| 93 | |||
| 89 | ;; Note: For generic functions that dispatch on several arguments (i.e. those | 94 | ;; Note: For generic functions that dispatch on several arguments (i.e. those |
| 90 | ;; which use the multiple-dispatch feature), we always use the same "tagcodes" | 95 | ;; which use the multiple-dispatch feature), we always use the same "tagcodes" |
| 91 | ;; and the same set of arguments on which to dispatch. This works, but is | 96 | ;; and the same set of arguments on which to dispatch. This works, but is |