]> git.eshelyaron.com Git - emacs.git/commitdiff
(autoconf-definition-regexp):
authorThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 7 Sep 2007 09:35:49 +0000 (09:35 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Fri, 7 Sep 2007 09:35:49 +0000 (09:35 +0000)
Handle optional square brackets around definition name.

lisp/ChangeLog
lisp/progmodes/autoconf.el

index 2dbe0d8bbacef3c2d2acdbf62986c1c4ebda3866..cf74fc34f064ec49140f739d74be27e2a0c4bd81 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-07  Thien-Thi Nguyen  <ttn@gnuvola.org>
+
+       * progmodes/autoconf.el (autoconf-definition-regexp):
+       Handle optional square brackets around definition name.
+
 2007-09-07  Johannes Weiner  <hannes@saeurebad.de>
 
        * net/browse-url.el (browse-url-browser-function): Add elinks.
index e01579917f6c6e286ee7973e42e725735b686a22..d47a1c4d2cc1f1f631eb356463750c1ad8894baa 100644 (file)
@@ -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)