unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Elisp - quoting or not?
@ 2020-12-05  5:15 David Masterson
  2020-12-05  6:12 ` An Liu
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: David Masterson @ 2020-12-05  5:15 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-12-06  2:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-05  5:15 Elisp - quoting or not? David Masterson
2020-12-05  6:12 ` An Liu
2020-12-05  6:12   ` An Liu
2020-12-05  8:57     ` tomas
2020-12-05 12:31       ` Pankaj Jangid
2020-12-05  6:14 ` Alexis Roda
2020-12-06  2:11   ` David Masterson
2020-12-05  6:21 ` Teemu Likonen
2020-12-05  6:42 ` Arthur Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).