mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* Make comp ignore EIEIO classes (bug#70141)
* lisp/emacs-lisp/comp-cstr.el (comp--all-classes): Ignore EIEIO classes.
This commit is contained in:
parent
4d486bd378
commit
c9d7721db6
@ -89,7 +89,10 @@ Integer values are handled in the `range' slot.")
|
||||
"Return all non built-in type names currently defined."
|
||||
(let (res)
|
||||
(mapatoms (lambda (x)
|
||||
(when (cl-find-class x)
|
||||
(when-let ((class (cl-find-class x))
|
||||
;; Ignore EIEIO classes as they can be
|
||||
;; redefined at runtime.
|
||||
(gate (not (eq 'eieio--class (type-of class)))))
|
||||
(push x res)))
|
||||
obarray)
|
||||
res))
|
||||
|
Loading…
Reference in New Issue
Block a user