changeset 14375:84578fb72dd3

(makefile-font-lock-keywords): Improve highlighting of variable references inside other highlighted regions.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Jan 1996 19:30:42 +0000
parents e2423983be05
children eb8910a353fc
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Fri Jan 26 08:26:58 1996 +0000
+++ b/lisp/progmodes/make-mode.el	Fri Jan 26 19:30:42 1996 +0000
@@ -214,10 +214,10 @@
    (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.