aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/js.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cef47715dc0..709242e6006 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/js.el (js--multi-line-declaration-indentation): Merge
4 from js2-mode (https://github.com/mooz/js2-mode/issues/89).
5
12013-03-06 Dmitry Gutov <dgutov@yandex.ru> 62013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2 7
3 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Only 8 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Only
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 4aa1ac270d5..2ea78fc321c 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -1785,7 +1785,7 @@ statement spanning multiple lines; otherwise, return nil."
1785 (or (eq (char-before) ?,) 1785 (or (eq (char-before) ?,)
1786 (and (not (eq (char-before) ?\;)) 1786 (and (not (eq (char-before) ?\;))
1787 (prog2 1787 (prog2
1788 (skip-chars-backward "[[:punct:]]") 1788 (skip-syntax-backward ".")
1789 (looking-at js--indent-operator-re) 1789 (looking-at js--indent-operator-re)
1790 (js--backward-syntactic-ws)) 1790 (js--backward-syntactic-ws))
1791 (not (eq (char-before) ?\;))) 1791 (not (eq (char-before) ?\;)))