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

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

Re: Elisp - quoting or not?


From: Alexis Roda
Subject: Re: Elisp - quoting or not?
Date: Sat, 5 Dec 2020 07:14:30 +0100

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


Missatge de David Masterson <dsmasterson92630@outlook.com> del dia ds., 5
de des. 2020 a les 6:15:

> 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]