summaryrefslogtreecommitdiff
path: root/lisp/progmodes/autoconf.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2007-09-07 09:35:49 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2007-09-07 09:35:49 +0000
commit4f060cc7af5e8a725f04bf361a35dc3f08da5566 (patch)
treeb52e4ae22aae8ed60e058e6e512b7f18be486b2f /lisp/progmodes/autoconf.el
parentf7ed05c9ccb084d1844b2f75bd1d10dce5ac169a (diff)
downloademacs-4f060cc7af5e8a725f04bf361a35dc3f08da5566.tar.gz
(autoconf-definition-regexp):
Handle optional square brackets around definition name.
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 e01579917f6..d47a1c4d2cc 100644
--- a/lisp/progmodes/autoconf.el
+++ b/lisp/progmodes/autoconf.el
@@ -49,7 +49,7 @@
'(("\\<dnl\\>" 0 '(11))))
(defconst autoconf-definition-regexp
- "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)")
+ "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\[*\\(\\sw+\\)\\]*")
(defvar autoconf-font-lock-keywords
`(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face)