Fix indentation before `!=' and after `+='
commitc613f4d6c12ad7a8ebbc88dcef48949c6a775996
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 16 Nov 2014 12:19:16 +0000 (16 14:19 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 16 Nov 2014 12:19:16 +0000 (16 14:19 +0200)
tree7fba3c7867dedc72fd47227700a99edb22605f80
parent202f4941dc13c82aea36258421351420a34b7133
Fix indentation before `!=' and after `+='

Originally reported in https://github.com/mooz/js2-mode/issues/174.
* lisp/progmodes/js.el (js--indent-operator-re): Make assignments and
(in)equality operator a separate case.
(js--continued-expression-p): Escape the second `+' in the regexp.
lisp/ChangeLog
lisp/progmodes/js.el
test/indent/js.js