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

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

help with variables inside alist


From: GH
Subject: help with variables inside alist
Date: Thu, 02 Jun 2022 16:23:02 +0200

I need some like this:

#+begin_src elisp

(let ((A "str1")
      (B "str2"))
  (setq example
        '((sexp1 (("str3" . A)
                  ("str4" . A)))
          (sexp2 (("str5" . B)))))
  ... )
  
#+end_src

But it set variables A and B as 'A and 'B instead "str1" and "str2"

How can I do?



reply via email to

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