From: Richard M. Stallman Date: Tue, 20 Aug 1996 20:42:52 +0000 (+0000) Subject: (makefile-font-lock-keywords): Catch variable X-Git-Tag: emacs-20.1~4056 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6749f8f3d61ad9362f457d2d4f7c0dce80e0e78;p=emacs.git (makefile-font-lock-keywords): Catch variable references that use substitutions. --- 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)