Clarify effect of print-gensym (Bug#27776)
* src/print.c (syms_of_print) <print-gensym>: Clarify that use of #N# and #N= constructs depends on the value of `print-circle'.
This commit is contained in:
parent
53e9fa2b5a
commit
16022626ba
1 changed files with 4 additions and 4 deletions
|
@ -2371,10 +2371,10 @@ I.e., (quote foo) prints as \\='foo, (function foo) as #\\='foo. */);
|
||||||
DEFVAR_LISP ("print-gensym", Vprint_gensym,
|
DEFVAR_LISP ("print-gensym", Vprint_gensym,
|
||||||
doc: /* Non-nil means print uninterned symbols so they will read as uninterned.
|
doc: /* Non-nil means print uninterned symbols so they will read as uninterned.
|
||||||
I.e., the value of (make-symbol \"foobar\") prints as #:foobar.
|
I.e., the value of (make-symbol \"foobar\") prints as #:foobar.
|
||||||
When the uninterned symbol appears within a recursive data structure,
|
When the uninterned symbol appears multiple times within the printed
|
||||||
and the symbol appears more than once, in addition use the #N# and #N=
|
expression, and `print-circle' is non-nil, in addition use the #N#
|
||||||
constructs as needed, so that multiple references to the same symbol are
|
and #N= constructs as needed, so that multiple references to the same
|
||||||
shared once again when the text is read back. */);
|
symbol are shared once again when the text is read back. */);
|
||||||
Vprint_gensym = Qnil;
|
Vprint_gensym = Qnil;
|
||||||
|
|
||||||
DEFVAR_LISP ("print-circle", Vprint_circle,
|
DEFVAR_LISP ("print-circle", Vprint_circle,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue