diff options
| author | Karl Heuer <kwzh@gnu.org> | 1996-10-25 04:34:53 +0000 |
|---|---|---|
| committer | Karl Heuer <kwzh@gnu.org> | 1996-10-25 04:34:53 +0000 |
| commit | bf370e8cd57aecd7b838d66a0538c23f547e5bf2 (patch) | |
| tree | 6dcfd26f464d11d7fbc7d9d44eddfe013c569250 /lisp/progmodes | |
| parent | 2892dc82b836406c685c03761f31502f21d2d285 (diff) | |
| download | emacs-bf370e8cd57aecd7b838d66a0538c23f547e5bf2.tar.gz | |
(makefile-font-lock-keywords): Accept - and . in
variable names.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/make-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
