Emacs/Common Lisp: Quote variable's value
<p>I need the quoted value of a variable.</p>

<p>For example, let's say we have the variables <code>qwe</code> and <code>asd</code>:</p>

<pre><code>(setq qwe '(1 2 3)) ;; qwe is set to (1 2 3)
(setq asd ''(1 2 3)) ;; asd is set to '(1 2 3)
</code></pre>

<p>My question is: how do I achieve the same value for <code>asd</code> by using <code>qwe</code>?</p>

<p>I did it this way:</p>

<pre><code>(setq asd `(quote ,qwe))
;; Now asd is '(1 2 3)
</code></pre>

<p>But it looks ugly and bad to me. I'll be surprised if there isn't a better way.</p>