Variable: print-circle

print-circle is a variable defined in print.c.

Value

nil

Documentation

Non-nil means print recursive structures using #N= and #N# syntax.

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-level. If non-nil, shared substructures anywhere in the structure are printed with #N= before the first occurrence (in the order of the print representation) and #N# in place of each subsequent occurrence, where N is a positive decimal integer.

View in manual

Probably introduced at or before Emacs version 21.1.

Source Code

// Defined in /usr/src/emacs/src/print.c
  DEFVAR_LISP ("print-circle", Vprint_circle,
	       doc: /* Non-nil means print recursive structures using #N= and #N# syntax.
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-level'.
If non-nil, shared substructures anywhere in the structure are printed
with `#N=' before the first occurrence (in the order of the print
representation) and `#N#' in place of each subsequent occurrence,
where N is a positive decimal integer.  */);