emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-fonts.el


From: Daniel Pfeiffer
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-fonts.el
Date: Thu, 05 May 2005 15:02:47 -0400

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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]