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:
parent
4aae191435
commit
94e48c7d75
@ -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
|
||||
|
@ -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) ?\;)))
|
||||
|
Loading…
Reference in New Issue
Block a user