summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/make-mode.el2
1 files changed, 1 insertions, 1 deletions
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)