This probably is easy but I cant seem to get
lets say I have a b and d
(setq a '(x y))
(setq b '(p q))
(setq d '("a" "b"))
how can get a list containing (x y p q) with the information I have with d
UPDATE;
Ok what I had tried was this
(apply 'nconc (mapcar (lambda (x)
(symbol-value (intern x)))
d))
but I dont really understand what nconc does. if evaluate twice, value changes. thrice emacs
goes without response
This should do it:
Can you change what
dto use symbols instead of strings? It would be much simpler to do:If the contents of
aandbare known at the time you setd, you could even do this: