comparison lisp/generic-x.el @ 42878:92e5c2656371

* generic-x.el (apache-conf-generic-mode): Highlight the first word in a line even if preceded by blanks.
author Francesco Potortì <pot@gnu.org>
date Mon, 21 Jan 2002 12:48:53 +0000
parents 8a4077ab418c
children 33d53d287ee4
comparison
equal deleted inserted replaced
42877:a5fa9e21eef7 42878:92e5c2656371
162 162
163 (define-generic-mode 'apache-conf-generic-mode 163 (define-generic-mode 'apache-conf-generic-mode
164 (list ?#) 164 (list ?#)
165 nil 165 nil
166 '(("^\\s-*\\(<.*>\\)" 1 'font-lock-constant-face) 166 '(("^\\s-*\\(<.*>\\)" 1 'font-lock-constant-face)
167 ("^\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face)) 167 ("^\\s-*\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
168 (list "srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'") 168 (list "srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'")
169 (list 169 (list
170 (function 170 (function
171 (lambda () 171 (lambda ()
172 (setq imenu-generic-expression 172 (setq imenu-generic-expression