From d58ef8a6f353423c4205c368cd6d1c44f6956649 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 12 Feb 2003 15:49:41 +0000 Subject: [PATCH] (makefile-font-lock-keywords): Simplify last change. --- lisp/progmodes/make-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 98a3d460884..dcab340ec82 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -269,11 +269,11 @@ not be enclosed in { } or ( )." (list makefile-dependency-regex 1 'font-lock-function-name-face) ;; Variable references even in targets/strings/comments. - '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) + '("\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%\\)" 1 font-lock-reference-face prepend) - '("\\$[({]\\([@%\\)" 1 font-lock-constant-face prepend) ;; ...but not shell variables references. '("\\$\\$\\(\\sw+\\)" 1 'default t) -- 2.39.2