emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f00afb9: Fontize more automatic variables in makefile-gmake-mode


From: Lars Ingebrigtsen
Subject: master f00afb9: Fontize more automatic variables in makefile-gmake-mode
Date: Fri, 5 Feb 2021 07:09:00 -0500 (EST)

branch: master
commit f00afb9bb8b5356690e2a785d14aa89995c96f50
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/progmodes/make-mode.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index a0e09f5..e382d6e 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]