1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Fix erasure of modeline by erc-track.

http://lists.gnu.org/archive/html/emacs-devel/2010-08/msg00562.html

* erc-track.el (track): Don't reset erc-modified-channels-object
each time erc-track-mode is activated.
This commit is contained in:
Antoine Levitt 2011-01-31 14:16:19 -05:00 committed by Chong Yidong
parent 6fa1f65165
commit 3e46acf717
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-01-31 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
* erc-track.el (track): Don't reset erc-modified-channels-object
each time erc-track-mode is activated.
2010-10-23 Julien Danjou <julien@danjou.info>
* erc-backend.el (erc-server-JOIN): Set the correct target list on join.

View File

@ -649,7 +649,6 @@ module, otherwise the keybindings will not do anything useful."
(add-hook 'erc-send-completed-hook 'erc-user-is-active)
(add-hook 'erc-server-001-functions 'erc-user-is-active))
(erc-track-add-to-mode-line erc-track-position-in-mode-line)
(setq erc-modified-channels-object (erc-modified-channels-object nil))
(erc-update-mode-line)
(if (featurep 'xemacs)
(defadvice switch-to-buffer (after erc-update (&rest args) activate)