summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-fonts.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-05-12 08:57:42 +0000
committerKim F. Storm <storm@cua.dk>2005-05-12 08:57:42 +0000
commit5ba65c038f76705077234087966fd5c3707fe1c1 (patch)
tree8fbb3ca8e03a7d86cca4751e66e0d7d1159ce130 /lisp/progmodes/cc-fonts.el
parent39eae0731cd39b0a84866873e3281f4ac9ae13a5 (diff)
downloademacs-5ba65c038f76705077234087966fd5c3707fe1c1.tar.gz
(c-basic-matchers-before): Don't apply
font-lock-negation-char-face to ! in !=.
Diffstat (limited to 'lisp/progmodes/cc-fonts.el')
-rw-r--r--lisp/progmodes/cc-fonts.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index 74efef4133f..26c0bdaf60f 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -673,7 +673,7 @@ casts and declarations are fontified. Used on level 2 and higher."
(c-font-lock-objc-iip-decl)))
nil))))))
- ("!" . font-lock-negation-char-face)
+ ("\\(!\\)[^=]" 1 font-lock-negation-char-face)
))
(defun c-font-lock-complex-decl-prepare (limit)