emacs-diffs
[Top][All Lists]
Advanced

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

master 1b623d0: Fontify Libtool macros in autoconf-mode


From: Basil L. Contovounesios
Subject: master 1b623d0: Fontify Libtool macros in autoconf-mode
Date: Sat, 18 Sep 2021 08:13:42 -0400 (EDT)

branch: master
commit 1b623d0fbf5e69910379a8f1e23006419b046e23
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    Fontify Libtool macros in autoconf-mode
    
    * lisp/progmodes/autoconf.el (autoconf-font-lock-keywords): Apply
    font-lock-keyword-face also to Libtool's LT_* macros (bug#50659).
---
 lisp/progmodes/autoconf.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el
index 73cf290..78148cc 100644
--- a/lisp/progmodes/autoconf.el
+++ b/lisp/progmodes/autoconf.el
@@ -44,7 +44,7 @@
   
"A\\(?:H_TEMPLATE\\|C_\\(?:SUBST\\|DEFINE\\(?:_UNQUOTED\\)?\\)\\)(\\[*\\(\\(?:\\sw\\|\\s_\\)+\\)\\]*")
 
 (defvar autoconf-font-lock-keywords
-  `(("\\_<A[CHMS]_\\(?:\\sw\\|\\s_\\)+" . font-lock-keyword-face)
+  `(("\\_<\\(?:A[CHMS]\\|LT\\)_\\(?:\\sw\\|\\s_\\)+" . font-lock-keyword-face)
     (,autoconf-definition-regexp
      1 font-lock-function-name-face)
     ;; Are any other M4 keywords really appropriate for configure.ac,



reply via email to

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