Function: custom-print

custom-print is a byte-compiled function defined in cust-print.el.gz.

Signature

(custom-print OBJECT &optional STREAM)

Documentation

Output the printed representation of OBJECT, with newlines around it.

Quoting characters are printed when needed to make output that read can handle, whenever this is possible. Output stream is STREAM, or value of standard-output (which see).

This is the custom-print replacement for the standard print.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/cust-print.el.gz
(defun custom-print (object &optional stream)
  "Output the printed representation of OBJECT, with newlines around it.
Quoting characters are printed when needed to make output that `read'
can handle, whenever this is possible.
Output stream is STREAM, or value of `standard-output' (which see).

This is the custom-print replacement for the standard `print'."
  (cust-print-original-princ "\n" stream)
  (custom-prin1 object stream)
  (cust-print-original-princ "\n" stream))