; Tweak the previous change

This commit is contained in:
Dmitry Gutov 2015-04-03 07:13:14 +03:00
parent f2fbd4b712
commit 0b914bada3

View file

@ -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