From abdcf1fb2c3ff6a081d58e811ace5ba43fb0cd98 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 26 Jan 1996 19:30:42 +0000 Subject: [PATCH] (makefile-font-lock-keywords): Improve highlighting of variable references inside other highlighted regions. --- lisp/progmodes/make-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index cabc112e934..3a4ddff5bf8 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -214,10 +214,10 @@ 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 t) + '("\\$[({]\\([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) + (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) ;; Highlight lines that contain just whitespace. ;; They can cause trouble, especially if they start with a tab. -- 2.39.2