aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-12-06 04:13:23 +0000
committerGlenn Morris2007-12-06 04:13:23 +0000
commit417cf0b282140be1e6110ea8175a5206cd7a13cc (patch)
tree971c70f5cb09169b07e231452ea45c6d05dc10a8
parent5cec305694c24f57f0cb0b46a089323d18274142 (diff)
downloademacs-417cf0b282140be1e6110ea8175a5206cd7a13cc.tar.gz
emacs-417cf0b282140be1e6110ea8175a5206cd7a13cc.zip
(antlr-keyword, antlr-syntax)
(antlr-ruledef, antlr-tokendef, antlr-ruleref-face) (antlr-tokenref, antlr-literal): Inherit from standard font-lock faces in non-light-background case.
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/progmodes/antlr-mode.el21
2 files changed, 32 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a8028f95994..b410c68015c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,21 @@
12007-12-06 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/antlr-mode.el (antlr-keyword, antlr-syntax)
4 (antlr-ruledef, antlr-tokendef, antlr-ruleref-face)
5 (antlr-tokenref, antlr-literal): Inherit from standard font-lock
6 faces in non-light-background case.
7
8 * add-log.el, dired-aux.el, font-lock.el, help-fns.el, ido.el:
9 * informat.el, emacs-lisp/bytecomp.el, emacs-lisp/gulp.el:
10 * emacs-lisp/tcover-ses.el, emacs-lisp/timer.el, emulation/edt.el:
11 * emulation/vi.el, emulation/viper-cmd.el:
12 * international/titdic-cnv.el, mail/emacsbug.el, progmodes/dcl.el:
13 * progmodes/prolog.el, progmodes/ps-mode.el, progmodes/python.el:
14 * textmodes/fill.el: Remove directory part from filenames in
15 function declarations.
16
17 * dired-aux.el (mailcap-mime-info): Update declaration.
18
12007-12-05 Richard Stallman <rms@gnu.org> 192007-12-05 Richard Stallman <rms@gnu.org>
2 20
3 * wid-edit.el (widget-type): Doc fix. 21 * wid-edit.el (widget-type): Doc fix.
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el
index 01f1c86618c..9f6e70dcce5 100644
--- a/lisp/progmodes/antlr-mode.el
+++ b/lisp/progmodes/antlr-mode.el
@@ -840,7 +840,8 @@ Do not change."
840(defface antlr-keyword 840(defface antlr-keyword
841 (cond-emacs-xemacs 841 (cond-emacs-xemacs
842 '((((class color) (background light)) 842 '((((class color) (background light))
843 (:foreground "black" :EMACS :weight bold :XEMACS :bold t)))) 843 (:foreground "black" :EMACS :weight bold :XEMACS :bold t))
844 (t :inherit font-lock-keyword-face)))
844 "ANTLR keywords." 845 "ANTLR keywords."
845 :group 'antlr) 846 :group 'antlr)
846;; backward-compatibility alias 847;; backward-compatibility alias
@@ -850,7 +851,8 @@ Do not change."
850(defface antlr-syntax 851(defface antlr-syntax
851 (cond-emacs-xemacs 852 (cond-emacs-xemacs
852 '((((class color) (background light)) 853 '((((class color) (background light))
853 (:foreground "black" :EMACS :weight bold :XEMACS :bold t)))) 854 (:foreground "black" :EMACS :weight bold :XEMACS :bold t))
855 (t :inherit font-lock-constant-face)))
854 "ANTLR syntax symbols like :, |, (, ), ...." 856 "ANTLR syntax symbols like :, |, (, ), ...."
855 :group 'antlr) 857 :group 'antlr)
856;; backward-compatibility alias 858;; backward-compatibility alias
@@ -860,7 +862,8 @@ Do not change."
860(defface antlr-ruledef 862(defface antlr-ruledef
861 (cond-emacs-xemacs 863 (cond-emacs-xemacs
862 '((((class color) (background light)) 864 '((((class color) (background light))
863 (:foreground "blue" :EMACS :weight bold :XEMACS :bold t)))) 865 (:foreground "blue" :EMACS :weight bold :XEMACS :bold t))
866 (t :inherit font-lock-function-name-face)))
864 "ANTLR rule references (definition)." 867 "ANTLR rule references (definition)."
865 :group 'antlr) 868 :group 'antlr)
866;; backward-compatibility alias 869;; backward-compatibility alias
@@ -870,7 +873,8 @@ Do not change."
870(defface antlr-tokendef 873(defface antlr-tokendef
871 (cond-emacs-xemacs 874 (cond-emacs-xemacs
872 '((((class color) (background light)) 875 '((((class color) (background light))
873 (:foreground "blue" :EMACS :weight bold :XEMACS :bold t)))) 876 (:foreground "blue" :EMACS :weight bold :XEMACS :bold t))
877 (t :inherit font-lock-function-name-face)))
874 "ANTLR token references (definition)." 878 "ANTLR token references (definition)."
875 :group 'antlr) 879 :group 'antlr)
876;; backward-compatibility alias 880;; backward-compatibility alias
@@ -878,7 +882,8 @@ Do not change."
878 882
879(defvar antlr-ruleref-face 'antlr-ruleref) 883(defvar antlr-ruleref-face 'antlr-ruleref)
880(defface antlr-ruleref 884(defface antlr-ruleref
881 '((((class color) (background light)) (:foreground "blue4"))) 885 '((((class color) (background light)) (:foreground "blue4"))
886 (t :inherit font-lock-type-face))
882 "ANTLR rule references (usage)." 887 "ANTLR rule references (usage)."
883 :group 'antlr) 888 :group 'antlr)
884;; backward-compatibility alias 889;; backward-compatibility alias
@@ -886,7 +891,8 @@ Do not change."
886 891
887(defvar antlr-tokenref-face 'antlr-tokenref) 892(defvar antlr-tokenref-face 'antlr-tokenref)
888(defface antlr-tokenref 893(defface antlr-tokenref
889 '((((class color) (background light)) (:foreground "orange4"))) 894 '((((class color) (background light)) (:foreground "orange4"))
895 (t :inherit font-lock-type-face))
890 "ANTLR token references (usage)." 896 "ANTLR token references (usage)."
891 :group 'antlr) 897 :group 'antlr)
892;; backward-compatibility alias 898;; backward-compatibility alias
@@ -896,7 +902,8 @@ Do not change."
896(defface antlr-literal 902(defface antlr-literal
897 (cond-emacs-xemacs 903 (cond-emacs-xemacs
898 '((((class color) (background light)) 904 '((((class color) (background light))
899 (:foreground "brown4" :EMACS :weight bold :XEMACS :bold t)))) 905 (:foreground "brown4" :EMACS :weight bold :XEMACS :bold t))
906 (t :inherit font-lock-string-face)))
900 "ANTLR special literal tokens. 907 "ANTLR special literal tokens.
901It is used to highlight strings matched by the first regexp group of 908It is used to highlight strings matched by the first regexp group of
902`antlr-font-lock-literal-regexp'." 909`antlr-font-lock-literal-regexp'."