summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/thunk.el
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-01-12 23:15:00 -0700
committerTom Tromey <tom@tromey.com>2017-01-13 12:38:36 -0700
commit502390822f9c0068898ae41285b37568bf0e4d1c (patch)
tree08d55c4c60eeb803935779d6541db7ef171b02bd /lisp/emacs-lisp/thunk.el
parentb47f97218efb8d9966e084bdfd8a86e8c47cf81d (diff)
downloademacs-502390822f9c0068898ae41285b37568bf0e4d1c.tar.gz
emacs-502390822f9c0068898ae41285b37568bf0e4d1c.tar.bz2
emacs-502390822f9c0068898ae41285b37568bf0e4d1c.zip
Add chained indentation to js-mode
Bug#20896 * lisp/progmodes/js.el (js-chain-indent): New variable. (js--skip-term-backward, js--skip-terms-backward) (js--chained-expression-p): New functions. (js--proper-indentation): Call js--chained-expression-p. * test/manual/indent/js-chain.js: New file. * test/manual/indent/js.js: Add (non-)chained indentation test.
Diffstat (limited to 'lisp/emacs-lisp/thunk.el')
0 files changed, 0 insertions, 0 deletions