(autoconf-definition-regexp):

Handle optional square brackets around definition name.
This commit is contained in:
Thien-Thi Nguyen 2007-09-07 09:35:49 +00:00
parent f7ed05c9cc
commit 4f060cc7af
2 changed files with 6 additions and 1 deletions

View 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.

View 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)