diff options
| author | Thien-Thi Nguyen | 2007-09-07 09:35:49 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2007-09-07 09:35:49 +0000 |
| commit | 4f060cc7af5e8a725f04bf361a35dc3f08da5566 (patch) | |
| tree | b52e4ae22aae8ed60e058e6e512b7f18be486b2f | |
| parent | f7ed05c9ccb084d1844b2f75bd1d10dce5ac169a (diff) | |
| download | emacs-4f060cc7af5e8a725f04bf361a35dc3f08da5566.tar.gz emacs-4f060cc7af5e8a725f04bf361a35dc3f08da5566.zip | |
(autoconf-definition-regexp):
Handle optional square brackets around definition name.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/autoconf.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2dbe0d8bbac..cf74fc34f06 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-09-07 Thien-Thi Nguyen <ttn@gnuvola.org> | ||
| 2 | |||
| 3 | * progmodes/autoconf.el (autoconf-definition-regexp): | ||
| 4 | Handle optional square brackets around definition name. | ||
| 5 | |||
| 1 | 2007-09-07 Johannes Weiner <hannes@saeurebad.de> | 6 | 2007-09-07 Johannes Weiner <hannes@saeurebad.de> |
| 2 | 7 | ||
| 3 | * net/browse-url.el (browse-url-browser-function): Add elinks. | 8 | * 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 @@ | |||
| 49 | '(("\\<dnl\\>" 0 '(11)))) | 49 | '(("\\<dnl\\>" 0 '(11)))) |
| 50 | 50 | ||
| 51 | (defconst autoconf-definition-regexp | 51 | (defconst autoconf-definition-regexp |
| 52 | "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") | 52 | "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\[*\\(\\sw+\\)\\]*") |
| 53 | 53 | ||
| 54 | (defvar autoconf-font-lock-keywords | 54 | (defvar autoconf-font-lock-keywords |
| 55 | `(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face) | 55 | `(("\\_<A[CHMS]_\\sw+" . font-lock-keyword-face) |