all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* load-time-value bug
@ 2004-05-10  9:36 Lars Brinkhoff
  0 siblings, 0 replies; only message in thread
From: Lars Brinkhoff @ 2004-05-10  9:36 UTC (permalink / raw)


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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-10  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-10  9:36 load-time-value bug Lars Brinkhoff

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.