changeset 62082:2805978983d8

(makefile-font-lock-keywords): Use font-lock-negation-char-face.
author Daniel Pfeiffer <occitan@esperanto.org>
date Thu, 05 May 2005 19:05:42 +0000
parents c186a2b77f86
children 7cf3ad924790
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Thu May 05 19:04:39 2005 +0000
+++ b/lisp/progmodes/make-mode.el	Thu May 05 19:05:42 2005 +0000
@@ -47,7 +47,7 @@
 ;; prerequisites.
 ;;
 ;; The command C-c C-b pops up a browser window listing all target and
-;; macro names.  You can mark or unmark items wit C-c SPC, and insert
+;; macro names.  You can mark or unmark items with C-c SPC, and insert
 ;; all marked items back in the Makefile with C-c TAB.
 ;;
 ;; The command C-c TAB in the makefile buffer inserts a GNU make builtin.
@@ -284,6 +284,9 @@
 	    "\\>[ \t]*\\([^: \t\n#]*\\)")
     '(1 font-lock-keyword-face) '(2 font-lock-variable-name-face))
 
+   '("^\\(?: [ \t]*\\)?if\\(n\\)\\(?:def\\|eq\\)\\>"
+     1 font-lock-negation-char-face prepend)
+
    ;; Highlight lines that contain just whitespace.
    ;; They can cause trouble, especially if they start with a tab.
    '("^[ \t]+$" . makefile-space-face)