# HG changeset patch # User Karl Heuer # Date 846218093 0 # Node ID 5c354ae6e9aee906d91850a882130e43e00f241b # Parent 4d7d18a39871b06963319dff748d920c02fb4dd9 (makefile-font-lock-keywords): Accept - and . in variable names. diff -r 4d7d18a39871 -r 5c354ae6e9ae lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Fri Oct 25 04:31:26 1996 +0000 +++ b/lisp/progmodes/make-mode.el Fri Oct 25 04:34:53 1996 +0000 @@ -214,7 +214,7 @@ (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 prepend) + '("\\$[({]\\([-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 'prepend)