From 0b914bada39e4577cd9e9209a15c44cc1f83294d Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Fri, 3 Apr 2015 07:13:14 +0300 Subject: [PATCH] ; Tweak the previous change --- lisp/progmodes/js.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f6cfa2e44d7..62f19f42df1 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 -- 2.39.5