Mercurial > emacs
comparison lisp/progmodes/autoconf.el @ 57792:a32d053617ec
(autoconf-font-lock-keywords): Recognize AS_* too.
author | Simon Josefsson <jas@extundo.com> |
---|---|
date | Fri, 29 Oct 2004 23:34:48 +0000 |
parents | e8824c4f5f7e |
children | f2892faa87d4 4056279af756 e24e2e78deda |
comparison
equal
deleted
inserted
replaced
57791:d1b93fc4ce47 | 57792:a32d053617ec |
---|---|
1 ;;; autoconf.el --- mode for editing Autoconf configure.in files | 1 ;;; autoconf.el --- mode for editing Autoconf configure.in files |
2 | 2 |
3 ;; Copyright (C) 2000, 2003 Free Software Foundation, Inc. | 3 ;; Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. |
4 | 4 |
5 ;; Author: Dave Love <fx@gnu.org> | 5 ;; Author: Dave Love <fx@gnu.org> |
6 ;; Keywords: languages | 6 ;; Keywords: languages |
7 | 7 |
8 ;; This file is part of GNU Emacs. | 8 ;; This file is part of GNU Emacs. |
47 | 47 |
48 (defconst autoconf-definition-regexp | 48 (defconst autoconf-definition-regexp |
49 "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") | 49 "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") |
50 | 50 |
51 (defvar autoconf-font-lock-keywords | 51 (defvar autoconf-font-lock-keywords |
52 `(("A[CHM]_\\sw+" . font-lock-keyword-face) | 52 `(("A[CHMS]_\\sw+" . font-lock-keyword-face) |
53 (,autoconf-definition-regexp | 53 (,autoconf-definition-regexp |
54 3 font-lock-function-name-face) | 54 3 font-lock-function-name-face) |
55 ;; Are any other M4 keywords really appropriate for configure.in, | 55 ;; Are any other M4 keywords really appropriate for configure.in, |
56 ;; given that we do `dnl'? | 56 ;; given that we do `dnl'? |
57 ("changequote" . font-lock-keyword-face))) | 57 ("changequote" . font-lock-keyword-face))) |