quote to string in elisp
Published 2018-04-10, last edit 2019-02-19
I always forget how to do this:
(progn 'asdf) ;;; => asdf
When I want the string “asdf”. Fix:
(progn (print1-to-string 'asdf)) ;;; => "asdf"
I always forget how to do this:
(progn 'asdf) ;;; => asdf
When I want the string “asdf”. Fix:
(progn (print1-to-string 'asdf)) ;;; => "asdf"