The result of (print 'foo) is (quote foo). Is there a similar function whose result is 'foo, which is what people generally write?

1 Answer 1


C-h v print-quoted:

print-quoted is a variable defined in C source code.

Its value is nil


Non-nil means print quoted forms with reader syntax. I.e., (quote foo) prints as 'foo, (function foo) as #'foo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.