mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge changes from emacs-23 branch.
This commit is contained in:
commit
95b6d681b1
9 changed files with 81 additions and 43 deletions
|
|
@ -382,9 +382,11 @@
|
|||
form))
|
||||
((or (byte-code-function-p fn)
|
||||
(eq 'lambda (car-safe fn)))
|
||||
(byte-optimize-form-code-walker
|
||||
(byte-compile-unfold-lambda form)
|
||||
for-effect))
|
||||
(let ((newform (byte-compile-unfold-lambda form)))
|
||||
(if (eq newform form)
|
||||
;; Some error occured, avoid infinite recursion
|
||||
form
|
||||
(byte-optimize-form-code-walker newform for-effect))))
|
||||
((memq fn '(let let*))
|
||||
;; recursively enter the optimizer for the bindings and body
|
||||
;; of a let or let*. This for depth-firstness: forms that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue