Suppose I want to write a function MYSETQ. MYSETQ takes a list of items to input into a SETQ statement and sets them. For instance,
(MYSETQ (list a 2 b 5)) should act the same as (setq a 2 b 5).
At first I thought
(defun MYSETQ ( lst )(apply 'setq lst))
Nope! It works if you write (MYSETQ (list 'a 2 'b 5)). You have to quote the items. But I don't want to! I've tried quoting, using eval and combinations of functions within the function to no avail. Is there any way to quote the items after you have input them rather than before? Every time I try to access the elements of the list the a and b are simply nil and I can't do a thing with them, what's a poor schmuck to do?