]> git.eshelyaron.com Git - emacs.git/commitdiff
Fontify Libtool macros in autoconf-mode
authorBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 Sep 2021 10:49:07 +0000 (11:49 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Sat, 18 Sep 2021 12:12:32 +0000 (13:12 +0100)
* 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

index 73cf290f43c394d62c6606308065ea50535a6269..78148ccf858564ddf07a1c8ba09dd7c95208f236 100644 (file)
@@ -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,