Michal Nazarewicz
fab2332851
cc-mode: add ‘c-lineup-ternary-bodies’ (bug#41061)
...
Introduce ‘c-lineup-ternary-bodies’ function which, when used as
a c lineup function, aligns question mark and colon of a ternary
operator. For example:
return arg % 2 == 0 ? arg / 2
: (3 * arg + 1);
* lisp/progmodes/cc-align.el (c-lineup-ternary-bodies): New function.
* doc/misc/cc-mode.texi (Operator Line-Up Functions): Document the
new function.
* test/lisp/progmodes/cc-mode-tests.el (c-lineup-ternary-bodies): New
test case.
2020-05-09 11:30:32 +01:00
..
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-13 07:50:24 -08:00
2020-05-09 11:30:32 +01:00
2020-01-01 00:59:52 +00:00
2020-04-17 09:38:41 -07:00
2020-01-01 00:59:52 +00:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-04-15 20:27:12 +03:00
2020-01-20 07:50:30 -08:00
2020-02-26 15:47:12 -05:00
2020-04-07 14:32:44 +02:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-16 15:33:17 +01:00
2020-01-01 00:59:52 +00:00
2020-04-20 07:50:19 -07:00
2020-01-01 00:59:52 +00:00
2020-01-16 21:53:37 -08:00
2020-01-16 21:55:14 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-23 14:44:27 +01:00
2020-01-01 00:59:52 +00:00
2020-02-01 09:18:46 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-13 07:50:30 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-02-09 14:33:14 +00:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-16 15:33:17 +01:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-05-03 15:10:07 -07:00
2020-01-01 00:59:52 +00:00
2020-04-22 11:16:31 +02:00
2020-01-19 14:11:07 +01:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-16 21:53:37 -08:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00
2020-01-01 00:59:52 +00:00