aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-02-05 13:08:50 +0100
committerLars Ingebrigtsen2021-02-05 13:08:50 +0100
commitf00afb9bb8b5356690e2a785d14aa89995c96f50 (patch)
tree24c4911961eded84356e848c90864d1ebd122a18
parent9730575f3a2599be0a4f9c3d1ef5321bf1294e93 (diff)
downloademacs-f00afb9bb8b5356690e2a785d14aa89995c96f50.tar.gz
emacs-f00afb9bb8b5356690e2a785d14aa89995c96f50.zip
Fontize more automatic variables in makefile-gmake-mode
* lisp/progmodes/make-mode.el (makefile-gmake-font-lock-keywords): Fontize the $ in more automatic variables (bug#27842).
-rw-r--r--lisp/progmodes/make-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index a0e09f51ce3..e382d6edcd2 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -435,6 +435,9 @@ not be enclosed in { } or ( )."
435 '("[^$]\\(\\$[({][@%*][DF][})]\\)" 435 '("[^$]\\(\\$[({][@%*][DF][})]\\)"
436 1 'makefile-targets append) 436 1 'makefile-targets append)
437 437
438 ;; Automatic variables.
439 '("[^$]\\(\\$[@%*?+^|]\\)" 1 'makefile-targets append)
440
438 ;; $(function ...) ${function ...} 441 ;; $(function ...) ${function ...}
439 '("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)" 442 '("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)"
440 1 font-lock-function-name-face prepend) 443 1 font-lock-function-name-face prepend)