]> git.eshelyaron.com Git - emacs.git/commitdiff
(byte-optimize-form-code-walker):
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 3 Mar 2008 03:38:21 +0000 (03:38 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 3 Mar 2008 03:38:21 +0000 (03:38 +0000)
Walk into the body of lambdas after byte-compile-unfold-lambda.

lisp/ChangeLog
lisp/emacs-lisp/byte-opt.el

index 08dcb611ba7f20874006cb8f8821e83a055d3009..4cf70876075bed743f83b57dced331f7d456890b 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
+       Walk into the body of lambdas after byte-compile-unfold-lambda.
+
 2008-03-03  Glenn Morris  <rgm@gnu.org>
 
        * emulation/viper-util.el (viper-frame-value): Prefer buffer-local
index a4a0f1ad27900d87bb9f80b5c33a8bf707675e83..92d83b0ef67eae48f532e8d248feb69463d46a22 100644 (file)
                form))
          ((or (byte-code-function-p fn)
               (eq 'lambda (car-safe fn)))
-          (byte-compile-unfold-lambda form))
+           (byte-optimize-form-code-walker
+            (byte-compile-unfold-lambda form)
+            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