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

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

load-time-value bug


From: Lars Brinkhoff
Subject: load-time-value bug
Date: 10 May 2004 11:36:21 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

In Emacs 21.3, a file containing the two lines

  (eval-when (:compile-toplevel)
    (load-time-value 42))

will fail to be byte-compiled with an error like: (void-variable
--cl-load-time--65101).  I believe this is because load-time-value is
evaluated in a context when it mistakenly thinks it's being compiled
for a file.

-- 
Lars Brinkhoff,         Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting    http://www.brinkhoff.se/





reply via email to

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