diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/eieio-core.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el index 01a821ed2a1..b6acab2a25a 100644 --- a/lisp/emacs-lisp/eieio-core.el +++ b/lisp/emacs-lisp/eieio-core.el @@ -1085,6 +1085,10 @@ method invocation orders of the involved classes." These match if the argument is the name of a subclass of CLASS." (list eieio--generic-subclass-generalizer)) +(defun eieio-declare-slots (&rest slots) + "Declare that SLOTS are known eieio object slot names." + (setq eieio--known-slot-names (append slots eieio--known-slot-names))) + (provide 'eieio-core) ;;; eieio-core.el ends here |