Function: eieio--check-slot-name
eieio--check-slot-name is a function defined in eieio-core.el.gz.
Signature
(eieio--check-slot-name EXP _OBJ SLOT &rest _)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-core.el.gz
;;; Get/Set slots in an object.
(eval-and-compile
(defun eieio--check-slot-name (exp _obj slot &rest _)
(pcase slot
((and (or `',name (and name (pred keywordp)))
(guard (not (eieio--known-slot-name-p name))))
(macroexp-warn-and-return
(format-message "Unknown slot `%S'" name)
exp nil 'compile-only name))
(_ exp))))