# HG changeset patch # User Richard M. Stallman # Date 840573772 0 # Node ID f3afa8fdaf5208280716d2229627bfe3abf0db87 # Parent 18c1dcf40139cee69bf7834252ce223f2a153d71 (makefile-font-lock-keywords): Catch variable references that use substitutions. diff -r 18c1dcf40139 -r f3afa8fdaf52 lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Tue Aug 20 19:11:55 1996 +0000 +++ b/lisp/progmodes/make-mode.el Tue Aug 20 20:42:52 1996 +0000 @@ -214,7 +214,7 @@ (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)