* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Aug 2011 15:32:39 +0000 (11:32 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 12 Aug 2011 15:32:39 +0000 (11:32 -0400)
commit6cd18349b892a5c432991e8231364e7a4d1ea33d
treeef929607fcc46316b05b0af07ad43233056d899a
parenta3dae87a1b5405d2bffde7c2d829a5dbfc7ff274
* lisp/progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
New function.
(js--regexp-literal, js-syntax-propertize-function): Remove.
(js-mode): Use js-syntax-propertize to handle multilines.
(js-mode-map): Don't rebind electric keys.
(js-insert-and-indent): Remove.
(js-mode): Setup electric-layout and electric-indent instead.

Fixes: debbugs:9183
lisp/ChangeLog
lisp/progmodes/js.el