Variable: print-level

print-level is a customizable variable defined in cust-print.el.gz.

Value

nil

Documentation

Controls how many levels deep a nested data object will print.

If nil, printing proceeds recursively and may lead to max-lisp-eval-depth being exceeded or an error may occur: Apparently circular structure being printed. Also see print-length and print-circle.

If non-nil, components at levels equal to or greater than print-level are printed simply as #. The object to be printed is at level 0, and if the object is a list or vector, its top-level components are at level 1.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/cust-print.el.gz
;; Variables:
;;=========================================================

;;(defvar print-length nil
;;  "*Controls how many elements of a list, at each level, are printed.
;;This is defined by emacs.")

(defcustom print-level nil
  "Controls how many levels deep a nested data object will print.

If nil, printing proceeds recursively and may lead to
max-lisp-eval-depth being exceeded or an error may occur:
`Apparently circular structure being printed.'
Also see `print-length' and `print-circle'.

If non-nil, components at levels equal to or greater than `print-level'
are printed simply as `#'.  The object to be printed is at level 0,
and if the object is a list or vector, its top-level components are at
level 1."
  :type '(choice (const nil) integer))