summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-26 19:30:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-26 19:30:42 +0000
commitabdcf1fb2c3ff6a081d58e811ace5ba43fb0cd98 (patch)
tree374d5d0997d4e13888bf754a80cceda1be0f1341 /lisp/progmodes
parent271c888a358af617b3ac79e9034c0bebbda2f64d (diff)
downloademacs-abdcf1fb2c3ff6a081d58e811ace5ba43fb0cd98.tar.gz
(makefile-font-lock-keywords): Improve highlighting
of variable references inside other highlighted regions.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/make-mode.el4
1 files 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.