[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a bug in font lock for c++ code
From: |
zwz |
Subject: |
a bug in font lock for c++ code |
Date: |
Mon, 14 Jun 2010 15:15:40 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
I find that my c++ code does not show in color after an update of emacs
recently.
As far as I can figure out, the problem can be reproduced by:
(defun my-c-mode-common-hook()
(font-lock-add-keywords nil
'(("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
("\\<\\(and\\|or\\|not\\)\\>" .
font-lock-keyword-face))))
(add-hook 'c++-mode-hook 'my-c-mode-common-hook)
I am running GNU Emacs 24.0.50.1 (i386-mingw-nt6.0.6002) of 2010-05-21.
- a bug in font lock for c++ code,
zwz <=