diff options
| author | Karl Heuer | 1996-10-25 04:34:53 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-10-25 04:34:53 +0000 |
| commit | bf370e8cd57aecd7b838d66a0538c23f547e5bf2 (patch) | |
| tree | 6dcfd26f464d11d7fbc7d9d44eddfe013c569250 | |
| parent | 2892dc82b836406c685c03761f31502f21d2d285 (diff) | |
| download | emacs-bf370e8cd57aecd7b838d66a0538c23f547e5bf2.tar.gz emacs-bf370e8cd57aecd7b838d66a0538c23f547e5bf2.zip | |
(makefile-font-lock-keywords): Accept - and . in
variable names.
| -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 ( ).") | |||
| 214 | (list makefile-macroassign-regex 1 'font-lock-variable-name-face) | 214 | (list makefile-macroassign-regex 1 'font-lock-variable-name-face) |
| 215 | ;; | 215 | ;; |
| 216 | ;; Variable references even in targets/strings/comments: | 216 | ;; Variable references even in targets/strings/comments: |
| 217 | '("\\$[({]\\([a-zA-Z0-9_]+\\)[}):]" 1 font-lock-reference-face prepend) | 217 | '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-reference-face prepend) |
| 218 | ;; | 218 | ;; |
| 219 | ;; Do dependencies. These get the function name face. | 219 | ;; Do dependencies. These get the function name face. |
| 220 | (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) | 220 | (list makefile-dependency-regex 1 'font-lock-function-name-face 'prepend) |