monnier pushed a commit to branch externals/auctex
in repository elpa.
commit 48001b9a357938e567020333af0a132a38b86e15
Author: Mosè Giordano <[email protected]>
Date: Sat Jul 12 13:14:50 2014 +0200
Fix remaining XEmacs compilation issues.
* tex-buf.el (TeX-error-description-error): Do not use the
`default' display, not supported by GNU Emacs 21 and XEmacs 21.4.
(TeX-error-description-warning): Ditto.
---
ChangeLog | 6 ++++++
tex-buf.el | 23 +++++++++++++----------
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 95f0497..cfcbe41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-07-12 Mos� Giordano <[email protected]>
+
+ * tex-buf.el (TeX-error-description-error): Do not use the
+ `default' display, not supported by GNU Emacs 21 and XEmacs 21.4.
+ (TeX-error-description-warning): Ditto.
+
2014-07-11 Mos� Giordano <[email protected]>
* tex-buf.el (TeX-error-description-error): Make face definition
diff --git a/tex-buf.el b/tex-buf.el
index a4eab05..1d3c605 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1896,20 +1896,23 @@ warning."
(defface TeX-error-description-error
;; This is the same as `error' face in latest GNU Emacs versions.
- '((default :weight bold)
- (((class color) (min-colors 88) (background light)) :foreground "Red1")
- (((class color) (min-colors 88) (background dark)) :foreground "Pink")
- (((class color) (min-colors 16) (background light)) :foreground "Red1")
- (((class color) (min-colors 16) (background dark)) :foreground "Pink")
- (((class color) (min-colors 8)) :foreground "red")
- (t (:inverse-video t)))
+ '((((class color) (min-colors 88) (background light))
+ :foreground "Red1" :weight bold)
+ (((class color) (min-colors 88) (background dark))
+ :foreground "Pink" :weight bold)
+ (((class color) (min-colors 16) (background light))
+ :foreground "Red1" :weight bold)
+ (((class color) (min-colors 16) (background dark))
+ :foreground "Pink" :weight bold)
+ (((class color) (min-colors 8))
+ :foreground "red" :weight bold)
+ (t (:inverse-video t :weight bold)))
"Face for \"Error\" string in error descriptions.")
(defface TeX-error-description-warning
;; This is the same as `warning' face in latest GNU Emacs versions.
- '((default :weight bold)
- (((class color) (min-colors 16)) :foreground "DarkOrange")
- (((class color)) :foreground "yellow"))
+ '((((class color) (min-colors 16)) :foreground "DarkOrange" :weight bold)
+ (((class color)) :foreground "yellow" :weight bold))
"Face for \"Warning\" string in error descriptions.")
(defface TeX-error-description-tex-said