V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
emacsistyzy
V2EX  ›  程序员

请教一个关于 emacs lisp 的问题

  •  
  •   emacsistyzy · Mar 22, 2017 · 1758 views
    This topic created in 3328 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   ·   2522 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 12:27 · PVG 20:27 · LAX 05:27 · JFK 08:27
    ♥ Do have faith in what you're doing.