# HG changeset patch # User Richard M. Stallman # Date 822684642 0 # Node ID 84578fb72dd3bae7556c38cabed5bb988ea32eac # Parent e2423983be05d3f25274bd15de625240e1d33eeb (makefile-font-lock-keywords): Improve highlighting of variable references inside other highlighted regions. diff -r e2423983be05 -r 84578fb72dd3 lisp/progmodes/make-mode.el --- 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.