erc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-commit] [commit][master] (erc-notice-face): Make this work with XEm


From: mwolson
Subject: [Erc-commit] [commit][master] (erc-notice-face): Make this work with XEmacs.
Date: Thu, 17 Jan 2008 18:10:07 -0500

commit 5058dd3243fa8e0a6e0d4db20a9b59892cbd0e16
Author: Michael W. Olson <address@hidden>
Date:   Thu Jan 17 17:05:18 2008 -0500

    (erc-notice-face): Make this work with XEmacs.

diff --git a/ChangeLog b/ChangeLog
index adc7e21..25c46ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@
        already seen bug reports about new users thinking that ERC didn't
        display their test messages.
        (erc-auto-query): Add explanatory :tag for nil choice.
+       (erc-notice-face): Make this work with XEmacs.
 
        * erc-dcc.el (erc-dcc-send-sentinel): Better handle case where elt
        is nil, in order to avoid an error.  Thanks to Brent Goodrick for
diff --git a/erc.el b/erc.el
index 56c3e8e..3a5d586 100644
--- a/erc.el
+++ b/erc.el
@@ -1168,9 +1168,11 @@ See the variable `erc-command-indicator'."
   :group 'erc-faces)
 
 (defface erc-notice-face
-  '((((class color) (min-colors 88))
-     (:bold t :foreground "SlateBlue"))
-    (t (:bold t :foreground "blue")))
+  (if (featurep 'xemacs)
+      '((t (:bold t :foreground "blue")))
+    '((((class color) (min-colors 88))
+       (:bold t :foreground "SlateBlue"))
+      (t (:bold t :foreground "blue"))))
   "ERC face for notices."
   :group 'erc-faces)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]