help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Elisp - quoting or not?


From: David Masterson
Subject: Elisp - quoting or not?
Date: Fri, 04 Dec 2020 21:15:00 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

I give up -- what's the proper way of doing this?

(setq ab '("a" . "b")
      cd '("c" . "d")
      abcd '(ab cd))

What I want is a result for abcd to be '(("a" . "b") ("c" . "d")). I
imagine I need to use cons/car/cdr, but I'm not sure how.

-- 
David Masterson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]