From d6749f8f3d61ad9362f457d2d4f7c0dce80e0e78 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 20 Aug 1996 20:42:52 +0000 Subject: [PATCH] (makefile-font-lock-keywords): Catch variable references that use substitutions. --- lisp/progmodes/make-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 5721cc53b00..f535012e043 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -214,7 +214,7 @@ not be enclosed in { } or ( ).") (list makefile-macroassign-regex 1 'font-lock-variable-name-face) ;; ;; Variable references even in targets/strings/comments: - '("\\$[({]\\([a-zA-Z0-9_]+\\)[})]" 1 font-lock-reference-face prepend) + '("\\$[({]\\([a-zA-Z0-9_]+\\)[}):]" 1 font-lock-reference-face prepend) ;; ;; Do dependencies. These get the function name face. (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) -- 2.39.2