emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0b914ba: ; Tweak the previous change


From: Dmitry Gutov
Subject: [Emacs-diffs] master 0b914ba: ; Tweak the previous change
Date: Fri, 03 Apr 2015 04:13:24 +0000

branch: master
commit 0b914bada39e4577cd9e9209a15c44cc1f83294d
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    ; Tweak the previous change
---
 lisp/progmodes/js.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index f6cfa2e..62f19f4 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -2003,8 +2003,8 @@ indentation is aligned to that column."
           (save-excursion (syntax-ppss (point-at-bol))))
          (offset (- (point) (save-excursion (back-to-indentation) (point)))))
     (unless (nth 3 parse-status)
-      (indent-line-to (js--proper-indentation parse-status)))
-    (when (> offset 0) (forward-char offset))))
+      (indent-line-to (js--proper-indentation parse-status))
+      (when (> offset 0) (forward-char offset)))))
 
 ;;; Filling
 



reply via email to

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