comparison lisp/ChangeLog @ 110888:fb9b207b7488

Enhance fontification of declarators to take account of the presence/absence of "typedef". cc-engine.el (c-forward-type): New &optional param "brace-block-too". (c-forward-decl-or-cast-1): cdr of return value now indicates the presence of either or both of a "struct"-like keyword and "typedef". cc-fonts.el (c-complex-decl-matchers): Remove the heuristic fontification of declarators which follow a "}". (c-font-lock-declarations): Fontify declarators according to the presence/absence of "typedef". cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable for "typedef". (c-typedef-decl-key): New lang variable built from c-typedef-decl-kwds.
author Alan Mackenzie <acm@muc.de>
date Sat, 09 Oct 2010 19:58:28 +0000
parents eff459e2beb7
children 0d6d71f9b91a
comparison
equal deleted inserted replaced
110887:951b5214e939 110888:fb9b207b7488
1 2010-10-09 Alan Mackenzie <acm@muc.de>
2
3 Enhance fontification of declarators to take account of the
4 presence/absence of "typedef".
5
6 * cc-engine.el (c-forward-type): New &optional param
7 "brace-block-too".
8 (c-forward-decl-or-cast-1): cdr of return value now indicates the
9 presence of either or both of a "struct"-like keyword and
10 "typedef".
11
12 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
13 fontification of declarators which follow a "}".
14 (c-font-lock-declarations): Fontify declarators according to the
15 presence/absence of "typedef".
16
17 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
18 for "typedef".
19 (c-typedef-decl-key): New lang variable built from
20 c-typedef-decl-kwds.
21
1 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org> 22 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 23
3 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys, 24 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4 since that's too annoying. Move the filter groups commands to 25 since that's too annoying. Move the filter groups commands to
5 TAB/backtab. 26 TAB/backtab.