Function: object-print

object-print is a byte-compiled function defined in eieio.el.gz.

This function is obsolete since 26.1; use cl-print-object instead.

Signature

(object-print THIS &rest STRINGS)

Documentation

Pretty printer for object THIS.

It is sometimes useful to put a summary of the object into the default #<notation> string when using EIEIO browsing tools. Implement this method to customize the summary.

Implementations

(object-print (THIS eieio-default-superclass) &rest STRINGS) in `eieio.el'.

Pretty printer for object THIS. Call function `object-name' with STRINGS. The default method for printing object THIS is to use the function `object-name'.

It is sometimes useful to put a summary of the object into the default #<notation> string when using EIEIO browsing tools.

Implement this function and specify STRINGS in a call to `call-next-method' to provide additional summary information. When passing in extra strings from child classes, always remember to prepend a space.

(object-print THIS &rest STRINGS) in `eieio.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/eieio.el.gz
(cl-defgeneric object-print (this &rest _strings)
  "Pretty printer for object THIS.

It is sometimes useful to put a summary of the object into the
default #<notation> string when using EIEIO browsing tools.
Implement this method to customize the summary."
  (declare (obsolete cl-print-object "26.1"))
  (format "%S" this))