Function: eieio-object-name
eieio-object-name is a byte-compiled function defined in eieio.el.gz.
Signature
(eieio-object-name OBJ &optional EXTRA)
Documentation
Return a printed representation for object OBJ.
If EXTRA, include that in the string returned to represent the symbol.
Aliases
object-name (obsolete since 24.4)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio.el.gz
(defun eieio-object-name (obj &optional extra)
"Return a printed representation for object OBJ.
If EXTRA, include that in the string returned to represent the symbol."
(cl-check-type obj eieio-object)
(format "#<%s %s%s>" (eieio-object-class obj)
(eieio-object-name-string obj)
(cond
((null extra)
"")
((listp extra)
(concat " " (mapconcat #'identity extra " ")))
(t
extra))))