From: Dmitry Gutov Date: Fri, 3 Apr 2015 04:13:14 +0000 (+0300) Subject: ; Tweak the previous change X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~23^2~3375^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0b914bada39e4577cd9e9209a15c44cc1f83294d;p=emacs.git ; Tweak the previous change --- 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