-;;; generic-x.el --- Extra Modes for generic-mode
+;;; generic-x.el --- Extra Modes for generic-mode -*- no-byte-compile: t -*-
;; Copyright (C) 1997, 1998 Free Software Foundation, Inc.
(list ?#)
nil
'(("^\\s-*\\(<.*>\\)" 1 'font-lock-constant-face)
- ("^\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
+ ("^\\s-*\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
(list "srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'")
(list
(function
("\t+" . 'show-tabs-tab-face)))
(defface show-tabs-tab-face
- '((((class grayscale) (background light)) (:foreground "LightGray" :bold t))
- (((class grayscale) (background dark)) (:foreground "DimGray" :bold t))
+ '((((class grayscale) (background light)) (:foreground "LightGray" :weight bold))
+ (((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
(((class color) (background light)) (:foreground "red"))
(((class color) (background dark)) (:foreground "red"))
- (t (:bold t)))
+ (t (:weight bold)))
"Font Lock mode face used to highlight TABs."
:group 'show-tabs)
(defface show-tabs-space-face
- '((((class grayscale) (background light)) (:foreground "LightGray" :bold t))
- (((class grayscale) (background dark)) (:foreground "DimGray" :bold t))
+ '((((class grayscale) (background light)) (:foreground "LightGray" :weight bold))
+ (((class grayscale) (background dark)) (:foreground "DimGray" :weight bold))
(((class color) (background light)) (:foreground "yellow"))
(((class color) (background dark)) (:foreground "yellow"))
- (t (:bold t)))
+ (t (:weight bold)))
"Font Lock mode face used to highlight spaces."
:group 'show-tabs)