# HG changeset patch # User Juanma Barranquero # Date 1045007121 0 # Node ID 7e5f5bd11b070da422c8871c9d59b5bdffc0d69b # Parent fea5ab31df099fef45d03f06dfd673014d930b4f (makefile-font-lock-keywords): Fontify single character variable references, but protect shell variables references. (makefile-mode): Make `$' be punctuation in font-lock-defaults. diff -r fea5ab31df09 -r 7e5f5bd11b07 lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Tue Feb 11 23:26:55 2003 +0000 +++ b/lisp/progmodes/make-mode.el Tue Feb 11 23:45:21 2003 +0000 @@ -268,13 +268,16 @@ ;; Do dependencies. These get the function name face. (list makefile-dependency-regex 1 'font-lock-function-name-face) - ;; Variable references even in targets/strings/comments: + ;; Variable references even in targets/strings/comments. '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) - ;; Automatic variable references. - '("\\$\\([@%\\)" 1 font-lock-reference-face prepend) '("\\$[({]\\([@%