all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.