From 256dec12f4a5e40e5117e2c36642fbcfdb33bed6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 31 Dec 2001 20:34:50 +0000 Subject: [PATCH] (various face definitions): Use :weight, not :bold. --- lisp/progmodes/antlr-mode.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index 5ef5c4d35be..b7315bd41af 100644 --- a/lisp/progmodes/antlr-mode.el +++ b/lisp/progmodes/antlr-mode.el @@ -797,25 +797,25 @@ Do not change." (defvar antlr-font-lock-keyword-face 'antlr-font-lock-keyword-face) (defface antlr-font-lock-keyword-face - '((((class color) (background light)) (:foreground "black" :bold t))) + '((((class color) (background light)) (:foreground "black" :weight bold))) "ANTLR keywords." :group 'antlr) (defvar antlr-font-lock-syntax-face 'antlr-font-lock-keyword-face) (defface antlr-font-lock-syntax-face - '((((class color) (background light)) (:foreground "black" :bold t))) + '((((class color) (background light)) (:foreground "black" :weight bold))) "ANTLR syntax symbols like :, |, (, ), ...." :group 'antlr) (defvar antlr-font-lock-ruledef-face 'antlr-font-lock-ruledef-face) (defface antlr-font-lock-ruledef-face - '((((class color) (background light)) (:foreground "blue" :bold t))) + '((((class color) (background light)) (:foreground "blue" :weight bold))) "ANTLR rule references (definition)." :group 'antlr) (defvar antlr-font-lock-tokendef-face 'antlr-font-lock-tokendef-face) (defface antlr-font-lock-tokendef-face - '((((class color) (background light)) (:foreground "blue" :bold t))) + '((((class color) (background light)) (:foreground "blue" :weight bold))) "ANTLR token references (definition)." :group 'antlr) @@ -833,7 +833,7 @@ Do not change." (defvar antlr-font-lock-literal-face 'antlr-font-lock-literal-face) (defface antlr-font-lock-literal-face - '((((class color) (background light)) (:foreground "brown4" :bold t))) + '((((class color) (background light)) (:foreground "brown4" :weight bold))) "ANTLR special literal tokens. It is used to highlight strings matched by the first regexp group of `antlr-font-lock-literal-regexp'." -- 2.39.2