Function: eieio--initarg-to-attribute

eieio--initarg-to-attribute is a byte-compiled function defined in eieio-core.el.gz.

Signature

(eieio--initarg-to-attribute CLASS INITARG)

Documentation

For CLASS, convert INITARG to the actual attribute name.

If there is no translation, pass it in directly (so we can cheat if need be... May remove that later...)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio-core.el.gz
(defun eieio--initarg-to-attribute (class initarg)
  "For CLASS, convert INITARG to the actual attribute name.
If there is no translation, pass it in directly (so we can cheat if
need be... May remove that later...)"
  (let ((tuple (assoc initarg (eieio--class-initarg-tuples class))))
    (if tuple
	(cdr tuple)
      nil)))