+ DEFVAR_BOOL ("print-quoted", &print_quoted,
+ "Non-nil means print quoted forms with reader syntax.\n\
+I.e., (quote foo) prints as 'foo, (function foo) as #'foo, and, backquoted\n\
+forms print in the new syntax.");
+ print_quoted = 0;
+
+ DEFVAR_LISP ("print-gensym", &Vprint_gensym,
+ "Non-nil means print uninterned symbols so they will read as uninterned.\n\
+I.e., the value of (make-symbol \"foobar\") prints as #:foobar.\n\
+When the uninterned symbol appears within a larger data structure,\n\
+in addition use the #...# and #...= constructs as needed,\n\
+so that multiple references to the same symbol are shared once again\n\
+when the text is read back.\n\
+\n\
+If the value of `print-gensym' is a cons cell, then in addition refrain from\n\
+clearing `print-gensym-alist' on entry to and exit from printing functions,\n\
+so that the use of #...# and #...= can carry over for several separately\n\
+printed objects.");
+ Vprint_gensym = Qnil;
+
+ DEFVAR_LISP ("print-gensym-alist", &Vprint_gensym_alist,
+ "Association list of elements (GENSYM . N) to guide use of #N# and #N=.\n\
+In each element, GENSYM is an uninterned symbol that has been associated\n\
+with #N= for the specified value of N.");
+ Vprint_gensym_alist = Qnil;
+