[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Erc-commit] [COMMIT] Make ERC work with Tabbar Mode.
From: |
Andy Stewart |
Subject: |
[Erc-commit] [COMMIT] Make ERC work with Tabbar Mode. |
Date: |
Fri, 19 Dec 2008 07:38:10 -0800 |
---
erc.el | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/erc.el b/erc.el
index f6b8e57..4a41af7 100644
--- a/erc.el
+++ b/erc.el
@@ -5907,6 +5907,11 @@ See `erc-mode-line-format' for which characters are can
be used."
:type '(choice (const :tag "Disabled" nil)
string))
+(defcustom erc-header-line-uses-tabbar-p t
+ "Use tabbar mode instead of the header line to display the header."
+ :group 'erc-mode-line-and-header
+ :type 'boolean)
+
(defcustom erc-header-line-uses-help-echo-p t
"Show the contents of the header line in the echo area or as a tooltip
when you move point into the header line."
@@ -6075,7 +6080,11 @@ if `erc-away' is non-nil."
(let ((header (if erc-header-line-format
(format-spec erc-header-line-format spec)
nil)))
- (cond ((null header)
+ (cond (erc-header-line-uses-tabbar-p
+ (set (make-local-variable 'tabbar--local-hlf)
+ header-line-format)
+ (kill-local-variable 'header-line-format))
+ ((null header)
(setq header-line-format nil))
(erc-header-line-uses-help-echo-p
(let ((help-echo (with-temp-buffer
--
debian.1.5.6.1.19.ge6b2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Erc-commit] [COMMIT] Make ERC work with Tabbar Mode.,
Andy Stewart <=