From: Thien-Thi Nguyen Date: Fri, 7 Sep 2007 09:35:49 +0000 (+0000) Subject: (autoconf-definition-regexp): X-Git-Tag: emacs-pretest-23.0.90~11042 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f060cc7af5e8a725f04bf361a35dc3f08da5566;p=emacs.git (autoconf-definition-regexp): Handle optional square brackets around definition name. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2dbe0d8bbac..cf74fc34f06 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-09-07 Thien-Thi Nguyen + + * progmodes/autoconf.el (autoconf-definition-regexp): + Handle optional square brackets around definition name. + 2007-09-07 Johannes Weiner * net/browse-url.el (browse-url-browser-function): Add elinks. 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 @@ '(("\\" 0 '(11)))) (defconst autoconf-definition-regexp - "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") + "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\[*\\(\\sw+\\)\\]*") (defvar autoconf-font-lock-keywords `(("\\_