emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 498bcca 21/33: Fix refactoring regression.


From: Dmitry Gutov
Subject: [elpa] master 498bcca 21/33: Fix refactoring regression.
Date: Sun, 12 Jul 2015 22:35:42 +0000

branch: master
commit 498bcca61fc9718f1d9d6eb931d9095f39e452ad
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Fix refactoring regression.
---
 js2-mode.el |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index e667df0..25071b7 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -8295,15 +8295,15 @@ arrow function), NAME is js2-name-node."
         ;;    of the with object.
         (setf (js2-function-node-ignore-dynamic fn-node) t))
     ;; dynamically bind all the per-function variables
-    (let ((js2-current-script-or-fn fn-node)
-          (js2-current-scope fn-node)
-          (js2-nesting-of-with 0)
-          (js2-end-flags 0)
-          js2-label-set
-          js2-loop-set
-          js2-loop-and-switch-set
-          (error-checking-arguments (js2-parse-function-params
-                                     function-type fn-node pos)))
+    (let* ((js2-current-script-or-fn fn-node)
+           (js2-current-scope fn-node)
+           (js2-nesting-of-with 0)
+           (js2-end-flags 0)
+           js2-label-set
+           js2-loop-set
+           js2-loop-and-switch-set
+           (error-checking-arguments (js2-parse-function-params
+                                      function-type fn-node pos)))
       (when (eq function-type 'FUNCTION_ARROW)
         (js2-must-match js2-ARROW "msg.bad.arrow.args"))
       (if (and (>= js2-language-version 180)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]