Mercurial > emacs
diff lisp/progmodes/make-mode.el @ 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 | f0d30883b329 |
children | 217222b416f7 |
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.