aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-04-14 15:04:16 +0000
committerStefan Monnier2003-04-14 15:04:16 +0000
commitd654cab8f8f992bae6a1d0d2c58b691587b19b08 (patch)
tree521afa46ea41c82e67d524c79a87e07286dc8e1e
parent51fe665a6eda319d49424ccc9f5db80a42278613 (diff)
downloademacs-d654cab8f8f992bae6a1d0d2c58b691587b19b08.tar.gz
emacs-d654cab8f8f992bae6a1d0d2c58b691587b19b08.zip
(font-lock-preprocessor-face): New var and face.
-rw-r--r--lisp/font-lock.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 194217249da..53babd729bd 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -339,6 +339,9 @@ If a number, only buffers greater than this size have fontification messages."
339(defvar font-lock-warning-face 'font-lock-warning-face 339(defvar font-lock-warning-face 'font-lock-warning-face
340 "Face name to use for things that should stand out.") 340 "Face name to use for things that should stand out.")
341 341
342(defvar font-lock-preprocessor-face 'font-lock-preprocessor-face
343 "Face name to use for preprocessor directives.")
344
342(defvar font-lock-reference-face 'font-lock-constant-face) 345(defvar font-lock-reference-face 'font-lock-constant-face)
343(make-obsolete-variable 'font-lock-reference-face 'font-lock-constant-face) 346(make-obsolete-variable 'font-lock-reference-face 'font-lock-constant-face)
344 347
@@ -1620,6 +1623,11 @@ A LEVEL of nil is equal to a LEVEL of 0, a LEVEL of t is equal to
1620 "Font Lock mode face used to highlight warnings." 1623 "Font Lock mode face used to highlight warnings."
1621 :group 'font-lock-highlighting-faces) 1624 :group 'font-lock-highlighting-faces)
1622 1625
1626(defface font-lock-preprocessor-face
1627 '((t :inherit 'font-lock-builtin-face))
1628 "Font Lock mode face used to highlight preprocessor directives."
1629 :group 'font-lock-highlighting-faces)
1630
1623;;; End of Colour etc. support. 1631;;; End of Colour etc. support.
1624 1632
1625;;; Menu support. 1633;;; Menu support.