[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Erc-commit] [commit][master] Fix pink notice text in tty bug.
From: |
mwolson |
Subject: |
[Erc-commit] [commit][master] Fix pink notice text in tty bug. |
Date: |
Thu, 10 Jan 2008 17:50:07 -0500 |
commit 8a5c1106e8357bbec626877ad6d7b3eadb798352
Author: Michael W. Olson <address@hidden>
Date: Thu Jan 10 17:40:14 2008 -0500
Fix pink notice text in tty bug.
diff --git a/ChangeLog b/ChangeLog
index 07c0d74..1ca1775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,9 @@
* erc.el (erc-modules): Add list-old.
(erc-set-topic): Handle case where there are no newlines in the
existing topic, which happens when /LIST is run.
+ (erc-notice-face): If we have less than 88 colors, make this
+ blue. Otherwise the text will be pink in a tty, which looks
+ dreadful. Thanks to e1f for the report.
2008-01-04 Stefan Monnier <address@hidden>
diff --git a/erc.el b/erc.el
index 6bc7d76..716890c 100644
--- a/erc.el
+++ b/erc.el
@@ -1167,7 +1167,10 @@ This will only be used if `erc-header-line-face-method'
is non-nil."
See the variable `erc-command-indicator'."
:group 'erc-faces)
-(defface erc-notice-face '((t (:bold t :foreground "SlateBlue")))
+(defface erc-notice-face
+ '((((class color) (min-colors 88))
+ (:bold t :foreground "SlateBlue"))
+ (t (:bold t :foreground "blue")))
"ERC face for notices."
:group 'erc-faces)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Erc-commit] [commit][master] Fix pink notice text in tty bug.,
mwolson <=