]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix #66
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 8 Sep 2012 16:06:49 +0000 (20:06 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 8 Sep 2012 16:06:49 +0000 (20:06 +0400)
js2-mode.el

index ba112e5444ed490d4260e77ce39ab03cba92a63a..89e4c5309f1b843077dc771c6302d69406af8191 100644 (file)
@@ -10410,9 +10410,9 @@ If so, we don't ever want to use bounce-indent."
               (not (js2-1-line-comment-continuation-p)))
          (js2-bounce-indent indent-col parse-status bounce-backwards))
         ;; just indent to the guesser's likely spot
-        (t (indent-line-to indent-col)))
-       (when (plusp offset)
-         (forward-char offset))))))
+        (t (indent-line-to indent-col))))
+     (when (plusp offset)
+       (forward-char offset)))))
 
 (defun js2-indent-region (start end)
   "Indent the region, but don't use bounce indenting."