summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-08-20 20:42:52 +0000
committerRichard M. Stallman <rms@gnu.org>1996-08-20 20:42:52 +0000
commit210f313a9d38a90a6eaab4ba152ace3e7aaf6adc (patch)
treeb7aa7fa6bf4782321c434ce91e7b17a533b37f8b /lisp
parente27f72d2b509d42f42e2a3505fc49f2bb35b9241 (diff)
downloademacs-210f313a9d38a90a6eaab4ba152ace3e7aaf6adc.tar.gz
(makefile-font-lock-keywords): Catch variable
references that use substitutions.
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)