[Top][All Lists]

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

Re: eval-when-compile vs defconst

From: Markus Triska
Subject: Re: eval-when-compile vs defconst
Date: Sun, 12 Nov 2006 20:06:37 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

Stephen Leake <address@hidden> writes:

> Is the `eval-when-compile' useful here? I'm thinking it is.
> The help for `defvar' says initvalue is evaluated, but it's not clear
> whether that happens at compile time or load time.

concat is recognized as a pure function by the optimizer and
evaluated. So no, eval-when-compile isn't useful in this case.

All the best! -- Markus Triska

reply via email to

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