Variable: print-gensym

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

Value

nil

Documentation

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 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.

View in manual

Source Code

// Defined in /usr/src/emacs/src/print.c
  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 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.  */);