What controls the print depth of lisp forms? For example:
(macroexpand '(defun foo () (let ((bar)) (+ 1 2))))
becomes
(defalias (quote foo) (function (lambda nil (let ... ...))))
in the *Messages*
buffer.
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this communityPrint length/depth for the echo area are in eval-expression-print-length
and eval-expresssion-print-depth
respectively.
For general printing (e.g. princ
), the relevant variables are print-length
and print-level
.
eval-expression-print-length
andeval-expression-print-level
. Here is a semi-related thread: emacs.stackexchange.com/questions/7978/…print-length
andprint-level
.