Fix erc-track-mode in modeline

This commit is contained in:
Eivind Fonn 2015-06-08 09:10:51 +02:00 committed by syl20bnr
parent 828ec61aa5
commit f9771fce4e

View file

@ -2369,7 +2369,7 @@ displayed in the mode-line.")
(powerline-raw " " line-face)))
;; erc
(when (and active
(boundp 'erc-track-mode))
(bound-and-true-p erc-track-mode))
;; Copied from erc-track.el -> erc-modified-channels-display
(let* ((buffers (mapcar 'car erc-modified-channels-alist))
(long-names (mapcar #'(lambda (buf) (or (buffer-name buf) "")) buffers)))