]> git.eshelyaron.com Git - emacs.git/commit
* lisp/loadup.el (oclosure): Load before `nadvice`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Dec 2021 00:07:32 +0000 (19:07 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Dec 2021 00:07:32 +0000 (19:07 -0500)
commitae0bfc4f758b47359e4ce8997781222b34795dfb
tree6d4f6e5581cae57dab0b6ed56f7a49717ff1ef54
parente052bb2770f392e3c47723ef2673078cb6e1a3e7
* lisp/loadup.el (oclosure): Load before `nadvice`

* lisp/loadup.el (oclosure): Load before `nadvice`.

* lisp/emacs-lisp/cl-generic.el (cl--generic-class-parents): Move to
`cl-preloaded.el`.
(cl--generic-struct-specializers, cl-generic--oclosure-specializers)
(cl--generic-specializers-apply-to-type-p): Use its new name.

* lisp/emacs-lisp/cl-preloaded.el (cl--class-allparents): New function
moved from `cl-generic.el`.

* lisp/emacs-lisp/oclosure.el (oclosure-define): Use it.

* lisp/emacs-lisp/cl-macs.el (pcase--mutually-exclusive-p):
Don't advise if `nadvice` has not yet been loaded.
lisp/emacs-lisp/cl-generic.el
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-preloaded.el
lisp/emacs-lisp/oclosure.el
lisp/loadup.el