From: Noam Postavsky Date: Sun, 28 Jan 2018 21:57:11 +0000 (-0500) Subject: Clarify effect of print-gensym (Bug#27776) X-Git-Tag: emacs-26.1-rc1~283 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16022626ba86eb96e12b7d919edfb50912cb26bd;p=emacs.git Clarify effect of print-gensym (Bug#27776) * src/print.c (syms_of_print) : Clarify that use of #N# and #N= constructs depends on the value of `print-circle'. --- diff --git a/src/print.c b/src/print.c index 47cb33deeba..d140f9973f5 100644 --- a/src/print.c +++ b/src/print.c @@ -2371,10 +2371,10 @@ I.e., (quote foo) prints as \\='foo, (function foo) as #\\='foo. */); DEFVAR_LISP ("print-gensym", Vprint_gensym, doc: /* Non-nil means print uninterned symbols so they will read as uninterned. I.e., the value of (make-symbol \"foobar\") prints as #:foobar. -When the uninterned symbol appears within a recursive data structure, -and the symbol appears more than once, in addition use the #N# and #N= -constructs as needed, so that multiple references to the same symbol are -shared once again when the text is read back. */); +When the uninterned symbol appears multiple times within the printed +expression, and `print-circle' is non-nil, in addition use the #N# +and #N= constructs as needed, so that multiple references to the same +symbol are shared once again when the text is read back. */); Vprint_gensym = Qnil; DEFVAR_LISP ("print-circle", Vprint_circle,