From: Karl Heuer Date: Fri, 25 Oct 1996 04:34:53 +0000 (+0000) Subject: (makefile-font-lock-keywords): Accept - and . in X-Git-Tag: emacs-20.1~3483 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf370e8cd57aecd7b838d66a0538c23f547e5bf2;p=emacs.git (makefile-font-lock-keywords): Accept - and . in variable names. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index f535012e043..47798469439 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -214,7 +214,7 @@ not be enclosed in { } or ( ).") (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)