diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-08 18:08:45 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-08 18:08:45 +0200 |
commit | 47e59c666a7599863725a04b6ed3f74ba01824b3 (patch) | |
tree | 2843998028019d76fa883bddc8055dc3e0cb792d /lisp/emacs-lisp/cl-seq.el | |
parent | 36291308801eefe5c04280c32d4b247bf7aa984e (diff) | |
download | emacs-47e59c666a7599863725a04b6ed3f74ba01824b3.tar.gz emacs-47e59c666a7599863725a04b6ed3f74ba01824b3.tar.bz2 emacs-47e59c666a7599863725a04b6ed3f74ba01824b3.zip |
Port indentation code from js2-mode to js-mode
* lisp/progmodes/js.el (js-auto-indent-flag): Remove, was unused.
(js-switch-indent-offset): New option.
(js--proper-indentation): Use it. And handle the case when
"default" is actually a key in an object literal.
(js--same-line): New function.
(js--multi-line-declaration-indentation): Use it.
(js--indent-in-array-comp, js--array-comp-indentation): New
functions.
(js--proper-indentation): Use them, to handle array comprehension
continuations.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions