diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-01-26 19:30:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-01-26 19:30:42 +0000 |
commit | 7b8706218f2263384b37c5c9f80f8310659e19b9 (patch) | |
tree | 9e329539582bc94dae66f350fa7971eaaf0830a1 | |
parent | 443c465581bdee54218c6fac3c6cdd207459c30b (diff) | |
download | emacs-7b8706218f2263384b37c5c9f80f8310659e19b9.tar.gz |
(makefile-font-lock-keywords): Improve highlighting
of variable references inside other highlighted regions.
-rw-r--r-- | lisp/progmodes/make-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index cabc112e934..3a4ddff5bf8 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -214,10 +214,10 @@ 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 t) + '("\\$[({]\\([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) + (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) ;; Highlight lines that contain just whitespace. ;; They can cause trouble, especially if they start with a tab. |