[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 1602262 4/8: Clarify effect of print-gensym (Bug#
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 1602262 4/8: Clarify effect of print-gensym (Bug#27776) |
Date: |
Tue, 30 Jan 2018 22:35:02 -0500 (EST) |
branch: emacs-26
commit 16022626ba86eb96e12b7d919edfb50912cb26bd
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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'.
---
src/print.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/print.c b/src/print.c
index 47cb33d..d140f99 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,
- [Emacs-diffs] emacs-26 updated (4b5711b -> 2b35ed0), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 9e6889c 1/8: Emphasize that GPG passphrase caching is temporary (Bug#29907), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 f706c59 5/8: Update manual description of locate-file (Bug#23650), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 db6564c 7/8: Fix scroll-margin docstring (Bug#13791), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 607cc4e 2/8: Define cl-type-definition button type as needed (Bug#28899), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 53e9fa2 3/8: * lisp/custom.el (defcustom): Fix docstring (Bug#27891)., Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 1602262 4/8: Clarify effect of print-gensym (Bug#27776),
Noam Postavsky <=
- [Emacs-diffs] emacs-26 732d1b9 6/8: Clarify that `ansi-term' is almost the same as `term' (Bug#18106), Noam Postavsky, 2018/01/30
- [Emacs-diffs] emacs-26 2b35ed0 8/8: Document external-debugging-output in the Elisp Manual (Bug#24051), Noam Postavsky, 2018/01/30