]> git.eshelyaron.com Git - emacs.git/commit
js--re-search-backward-inner: Fix infloop
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 1 Feb 2019 00:01:39 +0000 (03:01 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 1 Feb 2019 00:02:06 +0000 (03:02 +0300)
commitb01a4295c2f9bb58858880e4e28b05cc8396791c
tree0a2486d50106ea36222fdac2922b31fe0c75ab7f
parent47679e63230da94cffed568a4d5167ffc1baea96
js--re-search-backward-inner: Fix infloop

Fix JS indentation infloop reported in
https://github.com/mooz/js2-mode/issues/513.

* lisp/progmodes/js.el (js--re-search-backward-inner): Account for
multiline string literals.
* test/manual/indent/js.js: New test example.
lisp/progmodes/js.el
test/manual/indent/js.js