Commit 94e48c7d authored by Dmitry Gutov's avatar Dmitry Gutov

* lisp/progmodes/js.el (js--multi-line-declaration-indentation): Merge

from js2-mode (https://github.com/mooz/js2-mode/issues/89).
parent 4aae1914
2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/js.el (js--multi-line-declaration-indentation): Merge
from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-syntax-propertize-function): Only
......
......@@ -1785,7 +1785,7 @@ statement spanning multiple lines; otherwise, return nil."
(or (eq (char-before) ?,)
(and (not (eq (char-before) ?\;))
(prog2
(skip-chars-backward "[[:punct:]]")
(skip-syntax-backward ".")
(looking-at js--indent-operator-re)
(js--backward-syntactic-ws))
(not (eq (char-before) ?\;)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment