"XEmacs 21.4 (patch 6) \"Common Lisp\" [Lucid] (powerpc-debian-linux, Mule)
of Tue Apr 9 2002 on voltaire"
If I start a fresh XEmacs and byte-compile-file this file:
;;; file tmp.el
(defun foo () (load-time-value 42))
I get, essentially:
;;; file tmp.elc
(defalias 'foo #[nil "ÀJ\207" [--cl-load-time--70605] 1])
where foo disassemble to
args: nil
0 constant --cl-load-time--70605
1 symbol-value
2 return
The value of --cl-load-time--70605 isn't set by tmp.elc, so when I
load it and call (foo), I get this error message:
Symbol's value as variable is void: --cl-load-time--70605
Strangely, if I at this point compile tmp.el again, I get
;;; file tmp.elc
(byte-code "Á\211^P\207" [--cl-load-time--70605 42] 2)
(defalias 'foo #[nil "ÀJ\207" [--cl-load-time--70606] 1])
where the previously used variable is correctly set to 42, but the foo
function refers to a new symbol, so it stills fails like before.
--
Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP
Brinkhoff Consulting
http://www.brinkhoff.se/