1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00
emacs/test/manual
Jackson Ray Hamilton 21eef9fa7f Indent arrows’ expression bodies like function bodies (Bug#25904)
* lisp/progmodes/js.el (js--continued-expression-p): Don’t confuse
‘=>’ for a ‘>’ operator.
(js--line-terminating-arrow-re): New variable.
(js--looking-at-broken-arrow-function-p): New function.
(js--proper-indentation): Don’t align arrow functions’ expression
bodies starting on new lines like list continuations, instead align
them like function bodies (js-indent-align-list-continuation need not
be nil).

* test/manual/indent/js.js: Add test for Bug#25904.

Co-authored-by: Felipe Ochoa <felipe@fov.space>
2019-02-13 03:23:50 +03:00
..
cedet Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
etags Update copyright year to 2019 2019-01-01 01:01:13 +00:00
indent Indent arrows’ expression bodies like function bodies (Bug#25904) 2019-02-13 03:23:50 +03:00
BidiCharacterTest.txt Update Unicode data files to version 11.0.0 of Unicode 2018-06-09 15:41:21 +03:00
biditest.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
image-size-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
redisplay-testsuite.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
rmailmm.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
scroll-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00