> Nathan's notes_ Search Rice Projects Reading Root

Quote to string in elisp

10 April 2018

I always forget how to do this:

(progn 'asdf)
    ;;; => asdf

When I want the string “asdf”. Fix:

(progn (print1-to-string 'asdf))
    ;;; => "asdf"