Function: cl-prin1

cl-prin1 is an autoloaded and byte-compiled function defined in cl-print.el.gz.

Signature

(cl-prin1 OBJECT &optional STREAM)

Documentation

Print OBJECT on STREAM according to its type.

Output is further controlled by the variables cl-print-readably, cl-print-compiled, along with output variables for the standard printing functions. See Info node (elisp)Output Variables.

View in manual

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-print.el.gz
;;;###autoload
(defun cl-prin1 (object &optional stream)
  "Print OBJECT on STREAM according to its type.
Output is further controlled by the variables
`cl-print-readably', `cl-print-compiled', along with output
variables for the standard printing functions.  See Info
node `(elisp)Output Variables'."
  (if cl-print-readably
      (prin1 object stream)
    (with-demoted-errors "cl-prin1: %S"
      (if (not print-circle)
          (cl-print-object object stream)
        (let ((cl-print--number-table (cl-print--preprocess object)))
          (cl-print-object object stream))))))