(eieio--generic-subclass-specializers): Autoload class
* lisp/emacs-lisp/eieio-core.el (eieio--generic-subclass-specializers): Don't forget to handle autoloaded classes.
This commit is contained in:
parent
5beb56fb53
commit
345cdd7a70
1 changed files with 2 additions and 0 deletions
|
@ -1079,6 +1079,8 @@ method invocation orders of the involved classes."
|
|||
|
||||
(defun eieio--generic-subclass-specializers (tag &rest _)
|
||||
(when (cl--class-p tag)
|
||||
(when (eieio--class-p tag)
|
||||
(setq tag (eieio--full-class-object tag))) ;Autoload, if applicable.
|
||||
(mapcar (lambda (class) `(subclass ,class))
|
||||
(cl--class-allparents tag))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue