1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00

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

from js2-mode (https://github.com/mooz/js2-mode/issues/89).
This commit is contained in:
Dmitry Gutov 2013-03-07 20:08:33 +04:00
parent 4aae191435
commit 94e48c7d75
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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) ?\;)))