summaryrefslogtreecommitdiff
path: root/lisp/progmodes/autoconf.el
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2021-09-18 11:49:07 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2021-09-18 13:12:32 +0100
commit1b623d0fbf5e69910379a8f1e23006419b046e23 (patch)
tree0516fd4188305b0f755e145c688a13f61568d3a3 /lisp/progmodes/autoconf.el
parent83e3d8d8795c8162490a83f5d1a9d14763b8694f (diff)
downloademacs-1b623d0fbf5e69910379a8f1e23006419b046e23.tar.gz
emacs-1b623d0fbf5e69910379a8f1e23006419b046e23.tar.bz2
emacs-1b623d0fbf5e69910379a8f1e23006419b046e23.zip
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).
Diffstat (limited to 'lisp/progmodes/autoconf.el')
-rw-r--r--lisp/progmodes/autoconf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el
index 73cf290f43c..78148ccf858 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,