From: Lars Ingebrigtsen Date: Fri, 5 Feb 2021 12:08:50 +0000 (+0100) Subject: Fontize more automatic variables in makefile-gmake-mode X-Git-Tag: emacs-28.0.90~3921 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f00afb9bb8b5356690e2a785d14aa89995c96f50;p=emacs.git 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). --- 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 ( )." '("[^$]\\(\\$[({][@%*][DF][})]\\)" 1 'makefile-targets append) + ;; Automatic variables. + '("[^$]\\(\\$[@%*?+^|]\\)" 1 'makefile-targets append) + ;; $(function ...) ${function ...} '("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)" 1 font-lock-function-name-face prepend)