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

请教一个关于 emacs lisp 的问题

  •  
  •   emacsistyzy · Mar 22, 2017 · 1813 views
    This topic created in 3379 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
        1
    fengjianxinghun  
       Mar 22, 2017
    ```
    (setq hello "helloworld")
    (setq header `( ("Hello" . "World") ("Helo2" . "world2") ("hello3" . ,hello)))
    ```
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3403 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 10:52 · PVG 18:52 · LAX 03:52 · JFK 06:52
    ♥ Do have faith in what you're doing.