# HG changeset patch # User Juanma Barranquero # Date 1045064981 0 # Node ID 77c84ccd18b91061c89ac0dd804c5e0805ea3682 # Parent 307b9f6d7dacbaa61ca7ba053a9b4fd7e0ae2af6 (makefile-font-lock-keywords): Simplify last change. diff -r 307b9f6d7dac -r 77c84ccd18b9 lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Wed Feb 12 15:45:05 2003 +0000 +++ b/lisp/progmodes/make-mode.el Wed Feb 12 15:49:41 2003 +0000 @@ -269,11 +269,11 @@ (list makefile-dependency-regex 1 'font-lock-function-name-face) ;; Variable references even in targets/strings/comments. - '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) + '("\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%\\)" 1 font-lock-reference-face prepend) - '("\\$[({]\\([@%\\)" 1 font-lock-constant-face prepend) ;; ...but not shell variables references. '("\\$\\$\\(\\sw+\\)" 1 'default t)