summaryrefslogtreecommitdiff
path: root/lisp/mail/mail-parse.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2020-09-20 19:57:05 +0000
committerAlan Mackenzie <acm@muc.de>2020-09-20 19:57:05 +0000
commit6089dec2b495527cd3ab7dc2390ae053cec33f00 (patch)
tree377220b13e72b7a3a9b8df75691f9fdb9fea81cb /lisp/mail/mail-parse.el
parent2007cd3cac689e4683bdf6c01b220cde48d25aa2 (diff)
downloademacs-6089dec2b495527cd3ab7dc2390ae053cec33f00.tar.gz
emacs-6089dec2b495527cd3ab7dc2390ae053cec33f00.tar.bz2
emacs-6089dec2b495527cd3ab7dc2390ae053cec33f00.zip
C++ Mode: Modernize the fontification of "using"
Since "using" is now used in three distinct ways in C++, write a special function to handle these rather than attempting to adapt the old regular expressions. * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Amend to allow the argument TYPES to be a face. This face is given to the declarator being processed. (c-font-lock-single-decl): Make an argument to c-font-lock-declarators nil or t, not merely nil or non-nil. (c-complex-decl-matchers): Include c-font-lock-c++-using in the C++ value of this variable. (c-font-lock-c++-using): New function. * lisp/progmodes/cc-langs.el (c-using-kwds, c-using-key): New lang consts/vars. (c-modifier-kwds): Remove "using" from the C++ value.
Diffstat (limited to 'lisp/mail/mail-parse.el')
0 files changed, 0 insertions, 0 deletions