comparison lisp/ChangeLog @ 5391:f9dc75bdbdc4

Implement #'load-time-value less hackishly, by modifying the byte compiler. 2011-04-02 Aidan Kehoe <kehoea@parhasard.net> * bytecomp.el (byte-compile-output-preface): New. * bytecomp.el (byte-compile-output-file-form): * bytecomp.el (byte-compile-output-docform): * bytecomp.el (byte-compile-file-form): * bytecomp.el (byte-compile-file-form-defmumble): * bytecomp.el (symbol-value): * bytecomp.el (byte-compile-symbol-value): New. * cl-macs.el (load-time-value): No longer implement load-time-value by very hackishly redefining #'byte-compile-file-form-defmumble, instead make the appropriate changes in #'byte-compile-file-form-defmumble and #'byte-compile-file-form instead. We also add a specific byte-compile method for #'symbol-value, using the add-properties-to-a-gensym approach that worked for #'block and #'return-from.
author Aidan Kehoe <kehoea@parhasard.net>
date Sat, 02 Apr 2011 16:13:20 +0100
parents 5f5d48053e86
children 25c10648ffba
comparison
equal deleted inserted replaced
5390:593d9f73a7e8 5391:f9dc75bdbdc4
1 2011-04-02 Aidan Kehoe <kehoea@parhasard.net>
2
3 * bytecomp.el (byte-compile-output-preface): New.
4 * bytecomp.el (byte-compile-output-file-form):
5 * bytecomp.el (byte-compile-output-docform):
6 * bytecomp.el (byte-compile-file-form):
7 * bytecomp.el (byte-compile-file-form-defmumble):
8 * bytecomp.el (symbol-value):
9 * bytecomp.el (byte-compile-symbol-value): New.
10 * cl-macs.el (load-time-value):
11 No longer implement load-time-value by very hackishly redefining
12 #'byte-compile-file-form-defmumble, instead make the appropriate
13 changes in #'byte-compile-file-form-defmumble and
14 #'byte-compile-file-form instead. We also add a specific byte-compile
15 method for #'symbol-value, using the add-properties-to-a-gensym
16 approach that worked for #'block and #'return-from.
17
1 2011-03-29 Aidan Kehoe <kehoea@parhasard.net> 18 2011-03-29 Aidan Kehoe <kehoea@parhasard.net>
2 19
3 * cl-extra.el (cl-finite-do, cl-float-limits): 20 * cl-extra.el (cl-finite-do, cl-float-limits):
4 Don't make these available as functions in the dumped image, since 21 Don't make these available as functions in the dumped image, since
5 they're only called at dump time. 22 they're only called at dump time.