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

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

Re: understanding backquote


From: Stefan Monnier
Subject: Re: understanding backquote
Date: Tue, 02 Jun 2015 21:14:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Still sad, that it is not possible to do it at read or compile time.

If you want to compute it at compile-time, use `eval-when-compile'.  E.g.

   (defun foo (bar)
     (eval-when-compile
       (let ((x "toto"))
         (concat x "titi" x))))


-- Stefan


reply via email to

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