[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Erc-discuss] A patch to make ERC can use Tabbar.
From: |
Andy Stewart |
Subject: |
[Erc-discuss] A patch to make ERC can use Tabbar. |
Date: |
Wed, 03 Dec 2008 23:37:48 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi all,
I have do a patch that make ERC use Tabbar to display channel name.
,----
| First add this variable define in erc.el:
|
| (defvar erc-header-line-uses-tab-p t
| "Use tab instead `erc-header-line-format' display in header line.")
|
| And add below patch to erc.el
|
| ,----[ patch ]
| | 6084 (when (boundp 'header-line-format)
| | 6085 (let ((header (if erc-header-line-format
| | 6086 (format-spec erc-header-line-format spec)
| | 6087 nil)))
| | 6088 +++ (cond (erc-header-line-uses-tab-p
| | 6089 +++ (set (make-local-variable 'tabbar--local-hlf)
header-line-format)
| | 6090 +++ (kill-local-variable 'header-line-format))
| | 6091 ((null header)
| | 6092 (setq header-line-format nil))
| `----
`----
Enjoy!
-- Andy
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Erc-discuss] A patch to make ERC can use Tabbar.,
Andy Stewart <=