aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorThomas Kleymann1998-11-03 11:47:13 +0000
committerThomas Kleymann1998-11-03 11:47:13 +0000
commitaf1e37834fca25210821a558b638e98309643293 (patch)
tree9ff57a7da348bbfef26c65d93a63039fa38efa1b /generic
parent6549a40f3ab0eefdcd827ed4449884239c0bf2b2 (diff)
fixed bug with font-lock face names
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el20
1 files changed, 12 insertions, 8 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index 686f6a98..8d484171 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -124,12 +124,14 @@ If ignore, point is never moved after toolbar movement commands."
:bold t))
(t
(:italic t :bold t)))
- "*Face for declaration names in proof scripts.
-
-Don't forget to *double* quote this face for font-lock. FSF Emacs
-20.2's version only supports *expressions* for faces."
+ "*Face for declaration names in proof scripts."
:group 'proof-faces)
+(defconst proof-declaration-name-face 'proof-declaration-name-face
+ "Expression that evaluates to a face.
+Required so that 'proof-declaration-name-face is a proper facename in
+both XEmacs 20.4 and Emacs 20.2's version of font-lock.")
+
(defface proof-tacticals-name-face
'((((type x) (class color) (background light))
(:foreground "MediumOrchid3"))
@@ -137,12 +139,14 @@ Don't forget to *double* quote this face for font-lock. FSF Emacs
(:foreground "orchid"))
(t
(bold t)))
- "*Face for names of tacticals in proof scripts.
-
-Don't forget to *double* quote this face for font-lock. FSF Emacs
-20.2's version only supports *expressions* for faces."
+ "*Face for names of tacticals in proof scripts."
:group 'proof-faces)
+(defconst proof-tacticals-name-face 'proof-tacticals-name-face
+ "Expression that evaluates to a face.
+Required so that 'proof-declaration-name-face is a proper facename in
+both XEmacs 20.4 and Emacs 20.2's version of font-lock.")
+
(defface proof-error-face
'((((type x) (class color) (background light))
(:background "salmon1"