emacs/lisp/progmodes
Dmitry Gutov b01a4295c2 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.
2019-02-01 03:02:06 +03:00
..
ada-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ada-prj.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ada-stmt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ada-xref.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
antlr-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
asm-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
autoconf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bat-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bug-reference.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-align.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-awk.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-bytecomp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-cmds.el Extend electric-pair-mode actions to < and >, and also to ( and ) in literals 2019-01-22 14:37:54 +00:00
cc-defs.el Extend electric-pair-mode actions to < and >, and also to ( and ) in literals 2019-01-22 14:37:54 +00:00
cc-engine.el Detect when we hit limit in backward search in c-just-after-func-arglist-p 2019-01-28 10:54:42 +00:00
cc-fonts.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cc-guess.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-langs.el Extend electric-pair-mode actions to < and >, and also to ( and ) in literals 2019-01-22 14:37:54 +00:00
cc-menus.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-mode.el Merge from origin/emacs-26 2019-01-30 09:12:15 -08:00
cc-styles.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cc-vars.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cfengine.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cmacexp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
compile.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cperl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cpp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cwarn.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dcl-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ebnf-abn.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-bnf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-dtd.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-ebx.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-iso.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-otz.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf-yac.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebnf2ps.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ebrowse.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
elisp-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
etags.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
executable.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
f90.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
flymake-cc.el Fix Flymake tests for GCC 8.2.0 2019-01-05 11:38:36 +00:00
flymake-proc.el Fix flymake-proc--delete-temp-directory if temp dir ends in slash 2019-01-17 14:38:44 +00:00
flymake.el New flymake-supress-zero-counters defcustom 2019-01-05 12:12:00 +00:00
fortran.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gdb-mi.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
glasses.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
grep.el Merge from origin/emacs-26 2019-01-30 09:12:15 -08:00
gud.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hideif.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hideshow.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
icon.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlw-complete-structtag.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlw-help.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlw-shell.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlw-toolbar.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
idlwave.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
inf-lisp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
js.el js--re-search-backward-inner: Fix infloop 2019-02-01 03:02:06 +03:00
ld-script.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
m4-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
make-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mantemp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
meta-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mixal-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
modula2.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
octave.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
opascal.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pascal.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
perl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
prog-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
project.el ; Update the commentary 2019-01-19 03:57:58 +03:00
prolog.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
python.el Fix electric indent bug in python-mode after dedenting colon 2019-01-05 11:02:02 +02:00
ruby-mode.el More checks for live buffers. 2019-01-28 22:27:22 +02:00
scheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sh-script.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
simula.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sql.el Check that feature exist in `sql-set-product-feature' (Bug#30494). 2019-01-12 13:32:29 +02:00
subword.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tcl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vera-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
verilog-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vhdl-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
which-func.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xref.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xscheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00