comparison lisp/progmodes/autoconf.el @ 68747:d8d4d5dad20e

(autoconf-font-lock-keywords): Check start boundary of symbols.
author Masatake YAMATO <jet@gyve.org>
date Thu, 09 Feb 2006 19:15:46 +0000
parents 87efa9b46716
children dc49655f57ae
comparison
equal deleted inserted replaced
68746:3741bfb4402f 68747:d8d4d5dad20e
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)
56 (,autoconf-definition-regexp 56 (,autoconf-definition-regexp
57 3 font-lock-function-name-face) 57 3 font-lock-function-name-face)
58 ;; Are any other M4 keywords really appropriate for configure.in, 58 ;; Are any other M4 keywords really appropriate for configure.in,
59 ;; given that we do `dnl'? 59 ;; given that we do `dnl'?
60 ("changequote" . font-lock-keyword-face))) 60 ("changequote" . font-lock-keyword-face)))