diff options
| author | Richard M. Stallman | 1996-08-20 20:42:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-08-20 20:42:52 +0000 |
| commit | d6749f8f3d61ad9362f457d2d4f7c0dce80e0e78 (patch) | |
| tree | ea3bf99b5affe3bae58953fbd5c353c90298aab2 | |
| parent | 60f10a06e17d4d020a6b5dc068132e8680f0a4dd (diff) | |
| download | emacs-d6749f8f3d61ad9362f457d2d4f7c0dce80e0e78.tar.gz emacs-d6749f8f3d61ad9362f457d2d4f7c0dce80e0e78.zip | |
(makefile-font-lock-keywords): Catch variable
references that use substitutions.
| -rw-r--r-- | lisp/progmodes/make-mode.el | 2 |
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 ( ).") | |||
| 214 | (list makefile-macroassign-regex 1 'font-lock-variable-name-face) | 214 | (list makefile-macroassign-regex 1 'font-lock-variable-name-face) |
| 215 | ;; | 215 | ;; |
| 216 | ;; Variable references even in targets/strings/comments: | 216 | ;; Variable references even in targets/strings/comments: |
| 217 | '("\\$[({]\\([a-zA-Z0-9_]+\\)[})]" 1 font-lock-reference-face prepend) | 217 | '("\\$[({]\\([a-zA-Z0-9_]+\\)[}):]" 1 font-lock-reference-face prepend) |
| 218 | ;; | 218 | ;; |
| 219 | ;; Do dependencies. These get the function name face. | 219 | ;; Do dependencies. These get the function name face. |
| 220 | (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) | 220 | (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) |