summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/easymenu.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-06-16 11:26:59 +0000
committerAlan Mackenzie <acm@muc.de>2017-06-16 11:26:59 +0000
commit8c21f8fab915a5dabd7c3d10aae07ff36a3830e4 (patch)
treeae779b3c3006fb15235cd3c661627431a48f91b2 /lisp/emacs-lisp/easymenu.el
parentcc6a66b9a154b336a9a460b37ca843eb3b9e94f5 (diff)
downloademacs-8c21f8fab915a5dabd7c3d10aae07ff36a3830e4.tar.gz
emacs-8c21f8fab915a5dabd7c3d10aae07ff36a3830e4.tar.bz2
emacs-8c21f8fab915a5dabd7c3d10aae07ff36a3830e4.zip
Ensure C++ initializer lists don't get fontified.
* lisp/progmodes/cc-cmds.el (c-block-comment-flag): Move declaration to solve compiler warning. * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Add an extra clause to handle C++ member initialization lists. (c-font-lock-single-decl): New function, extracted from c-font-lock-declarations. (c-font-lock-declarations): Call c-font-lock-single-decl in place of inline code. (c-font-lock-cut-off-declarators): Make more rigorous by calling c-get-fontification-context, c-forward-decl-or-cast-1, and c-font-lock-single-decl in place of rather approximate code.
Diffstat (limited to 'lisp/emacs-lisp/easymenu.el')
0 files changed, 0 insertions, 0 deletions