aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2015-04-03 07:13:14 +0300
committerDmitry Gutov2015-04-03 07:13:14 +0300
commit0b914bada39e4577cd9e9209a15c44cc1f83294d (patch)
treea75915613e181855c657a45da86baf407cddf665
parentf2fbd4b71236ca5559b93eb2baf1a7671442eef9 (diff)
downloademacs-0b914bada39e4577cd9e9209a15c44cc1f83294d.tar.gz
emacs-0b914bada39e4577cd9e9209a15c44cc1f83294d.zip
; Tweak the previous change
-rw-r--r--lisp/progmodes/js.el4
1 files 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."
2003 (save-excursion (syntax-ppss (point-at-bol)))) 2003 (save-excursion (syntax-ppss (point-at-bol))))
2004 (offset (- (point) (save-excursion (back-to-indentation) (point))))) 2004 (offset (- (point) (save-excursion (back-to-indentation) (point)))))
2005 (unless (nth 3 parse-status) 2005 (unless (nth 3 parse-status)
2006 (indent-line-to (js--proper-indentation parse-status))) 2006 (indent-line-to (js--proper-indentation parse-status))
2007 (when (> offset 0) (forward-char offset)))) 2007 (when (> offset 0) (forward-char offset)))))
2008 2008
2009;;; Filling 2009;;; Filling
2010 2010