changeset 50588:7bfe36160365

(font-lock-preprocessor-face): New var and face.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 14 Apr 2003 15:04:16 +0000
parents f711c86ea5c9
children cf8d9d62ba1e
files lisp/font-lock.el
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Mon Apr 14 10:16:05 2003 +0000
+++ b/lisp/font-lock.el	Mon Apr 14 15:04:16 2003 +0000
@@ -339,6 +339,9 @@
 (defvar font-lock-warning-face		'font-lock-warning-face
   "Face name to use for things that should stand out.")
 
+(defvar font-lock-preprocessor-face	'font-lock-preprocessor-face
+  "Face name to use for preprocessor directives.")
+
 (defvar font-lock-reference-face	'font-lock-constant-face)
 (make-obsolete-variable 'font-lock-reference-face 'font-lock-constant-face)
 
@@ -1620,6 +1623,11 @@
   "Font Lock mode face used to highlight warnings."
   :group 'font-lock-highlighting-faces)
 
+(defface font-lock-preprocessor-face
+  '((t :inherit 'font-lock-builtin-face))
+  "Font Lock mode face used to highlight preprocessor directives."
+  :group 'font-lock-highlighting-faces)
+
 ;;; End of Colour etc. support.
 
 ;;; Menu support.