aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-syntax.el
diff options
context:
space:
mode:
authorThomas Kleymann1998-09-15 13:32:27 +0000
committerThomas Kleymann1998-09-15 13:32:27 +0000
commit61f33b67ba63df3542e493a40a2d348323f2558b (patch)
tree1cfeae63b1a7bc002474fddd1665a04e30d85246 /generic/proof-syntax.el
parent3d4cacefd464d805dab26bda845bf7a5e1a5de9e (diff)
Reimplemented proof-shell-popup-eager-annotation
These are no longer displayed in the *GOALS* buffer.
Diffstat (limited to 'generic/proof-syntax.el')
-rw-r--r--generic/proof-syntax.el19
1 files changed, 13 insertions, 6 deletions
diff --git a/generic/proof-syntax.el b/generic/proof-syntax.el
index 651c3578..cfaae0c4 100644
--- a/generic/proof-syntax.el
+++ b/generic/proof-syntax.el
@@ -71,12 +71,19 @@
(copy-face 'bold 'font-lock-tacticals-name-face)))
(defvar font-lock-error-face
-(if (proof-have-color)
- (let ((face (make-face 'font-lock-error-face)))
- (dont-compile
- (set-face-foreground face "red"))
- face)
- (copy-face 'bold 'font-lock-error-face)))
+ (let ((face (make-face 'font-lock-error-face)))
+ (copy-face 'bold 'font-lock-error-face)
+ (and (proof-have-color) (set-face-background face "salmon1"))
+ face)
+ "*The face for error messages.")
+
+(defvar font-lock-eager-annotation-face
+ (let ((face (make-face 'font-lock-eager-annotation-face)))
+ (if (proof-have-color)
+ (set-face-background face "lemon chiffon")
+ (copy-face 'italic face))
+ face)
+ "*The face for urgent messages.")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; A big hack to unfontify commas in declarations and definitions. ;;