(byte-optimize-form-code-walker):
If compiler-macroexpand is defined, use it.
This commit is contained in:
parent
76b233658b
commit
5428ee0299
1 changed files with 7 additions and 0 deletions
|
@ -504,6 +504,13 @@
|
|||
(setq form (macroexpand form
|
||||
byte-compile-macro-environment))))
|
||||
(byte-optimize-form form for-effect))
|
||||
|
||||
;; Support compiler macros as in cl.el.
|
||||
((and (fboundp 'compiler-macroexpand)
|
||||
(not (eq form
|
||||
(setq form (compiler-macroexpand form
|
||||
byte-compile-macro-environment)))))
|
||||
(byte-optimize-form form for-effect))
|
||||
|
||||
((not (symbolp fn))
|
||||
(or (eq 'mocklisp (car-safe fn)) ; ha!
|
||||
|
|
Loading…
Add table
Reference in a new issue