The result of
(print 'foo) is
(quote foo). Is there a similar function whose result is
'foo, which is what people generally write?
C-h v print-quoted:
print-quotedis a variable defined in
C source code.
Its value is
nilmeans print quoted forms with reader syntax. I.e.,
(quote foo)prints as