diff options
| author | Juanma Barranquero | 2003-02-12 15:49:41 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-02-12 15:49:41 +0000 |
| commit | d58ef8a6f353423c4205c368cd6d1c44f6956649 (patch) | |
| tree | a14da1df050b53b828898159957f75ee8a240d81 | |
| parent | 7d5c86e5de5a7f0cbee5e460ce02843b2c26730a (diff) | |
| download | emacs-d58ef8a6f353423c4205c368cd6d1c44f6956649.tar.gz emacs-d58ef8a6f353423c4205c368cd6d1c44f6956649.zip | |
(makefile-font-lock-keywords): Simplify last change.
| -rw-r--r-- | lisp/progmodes/make-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 98a3d460884..dcab340ec82 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -269,11 +269,11 @@ not be enclosed in { } or ( )." | |||
| 269 | (list makefile-dependency-regex 1 'font-lock-function-name-face) | 269 | (list makefile-dependency-regex 1 'font-lock-function-name-face) |
| 270 | 270 | ||
| 271 | ;; Variable references even in targets/strings/comments. | 271 | ;; Variable references even in targets/strings/comments. |
| 272 | '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) | 272 | '("\\$[({]\\([-a-zA-Z0-9_.]+\\|[@%<?^+*][FD]?\\)[}):]" |
| 273 | 1 font-lock-constant-face prepend) | ||
| 273 | 274 | ||
| 274 | ;; Automatic variable references and single character variable references... | 275 | ;; Automatic variable references and single character variable references... |
| 275 | '("\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)" 1 font-lock-reference-face prepend) | 276 | '("\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)" 1 font-lock-constant-face prepend) |
| 276 | '("\\$[({]\\([@%<?^+*][FD]?\\)[}):]" 1 font-lock-reference-face prepend) | ||
| 277 | 277 | ||
| 278 | ;; ...but not shell variables references. | 278 | ;; ...but not shell variables references. |
| 279 | '("\\$\\$\\(\\sw+\\)" 1 'default t) | 279 | '("\\$\\$\\(\\sw+\\)" 1 'default t) |