I have a variable say some-var
, its value is a string. I want to use its value in a quote
expression.
'(some-var "some string")
The function who is using the above expression reports error because it gets some-var
literally...not the value.
Any trick to eval some-var
inside a quote
expression?
list
at the first place...lol! Thanks. – David S. Jul 01 '16 at 00:54'((".*" . "PATH"))
, where "PATH" should be an evaluated expression. I ended up using:(list (cons ".*" (EXPR)))
. – trxgnyp1 Nov 04 '23 at 20:10