Lisp scope issue with setq?
<p>I'm a noob at lisp, have only been using it for two weeks or so...</p>

<p>I have some global variable declared with setq:
<code>(setq myvar '(WHATEVER))</code></p>

<p>and a function that is supposed to modify whatever variable I tell it to:</p>

<pre><code>(defun MYFUN (varname)
  (setq varname '(POOP))
)
</code></pre>

<p>but when I make the call: <code>(MYFUN 'myvar)</code>
and check the value of <code>myvar</code> now it still is <code>(WHATEVER)</code> how do I make the changes that are made in <code>MYFUN</code> persist?</p>