Index: emacs/lisp/progmodes/cc-fonts.el
diff -c emacs/lisp/progmodes/cc-fonts.el:1.7 
emacs/lisp/progmodes/cc-fonts.el:1.8
*** emacs/lisp/progmodes/cc-fonts.el:1.7        Fri Apr  8 14:26:12 2005
--- emacs/lisp/progmodes/cc-fonts.el    Thu May  5 19:02:47 2005
***************
*** 495,500 ****
--- 495,506 ----
                         "[" (c-lang-const c-symbol-chars) "]+"
                         "\\)")
                 `(,(1+ ncle-depth) c-preprocessor-face-name t)))
+ 
+             ;; fontify the n in ifndef
+             (,(concat noncontinued-line-end
+                       (c-lang-const c-opt-cpp-prefix)
+                       "if\\(n\\)def\\>")
+              ,(+ ncle-depth 1) font-lock-negation-char-face prepend)
              )))
  
        ,@(when (c-major-mode-is 'pike-mode)
***************
*** 666,671 ****
--- 672,679 ----
                      (narrow-to-region (point-min) limit)
                      (c-font-lock-objc-iip-decl)))
                  nil))))))
+ 
+       ("!" . font-lock-negation-char-face)
        ))
  
  (defun c-font-lock-complex-decl-prepare (limit)


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to