Function: macroexp-quote
macroexp-quote is a byte-compiled function defined in macroexp.el.gz.
Signature
(macroexp-quote V)
Documentation
Return an expression E such that (eval E) is V.
E is either V or (quote V) depending on whether V evaluates to itself or not.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/macroexp.el.gz
(defun macroexp-quote (v)
"Return an expression E such that `(eval E)' is V.
E is either V or (quote V) depending on whether V evaluates to
itself or not."
(if (and (not (consp v))
(or (keywordp v)
(not (symbolp v))
(memq v '(nil t))))
v
(list 'quote v)))