• 请不要在回答技术问题时复制粘贴 AI 生成的内容
emacsistyzy
V2EX  ›  程序员

请教一个关于 emacs lisp 的问题

  •  
  •   emacsistyzy · Mar 22, 2017 · 2002 views
    This topic created in 3520 days ago, the information mentioned may be changed or developed.

    (setq hello "helloworld") (setq header '( ("Hello" . "World") ("Helo2" . "world2") ("hello3" . hello))) header

    我要如何才能让 header 进行 eval 后的结果是 (("Hello" . "World") ("Helo2" . "world2") ("hello3" . "helloworld)) 而不是 (("Hello" . "World") ("Helo2" . "world2") ("hello3" . hello))

    2 replies  •  2017-03-22 18:34:36 +08:00
    fengjianxinghun
    fengjianxinghun
    Mar 22, 2017
    1
    ```
    (setq hello "helloworld")
    (setq header `( ("Hello" . "World") ("Helo2" . "world2") ("hello3" . ,hello)))
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1744 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:58 · PVG 23:58 · LAX 07:58 · JFK 10:58
    ♥ Do have faith in what you're doing.