From: Juanma Barranquero Date: Wed, 12 Feb 2003 15:49:41 +0000 (+0000) Subject: (makefile-font-lock-keywords): Simplify last change. X-Git-Tag: ttn-vms-21-2-B4~11221 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d58ef8a6f353423c4205c368cd6d1c44f6956649;p=emacs.git (makefile-font-lock-keywords): Simplify last change. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 98a3d460884..dcab340ec82 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -269,11 +269,11 @@ not be enclosed in { } or ( )." (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)