Show ERC status in modeline

This commit is contained in:
Tom Willemse 2015-06-17 10:49:43 +02:00
parent db423b3ce2
commit 3933f42b39

View file

@ -119,6 +119,11 @@
ispell-local-dictionary
flyspell-default-dictionary)))))
(smt/defwidget oni-smt-erc
:text (lambda (_)
(when (boundp 'erc-modified-channels-alist)
erc-modified-channels-object)))
(smt/defwidget oni-smt-position
:text (lambda (_) (format-mode-line "%l/%c:%p")))
@ -146,10 +151,12 @@
(smt/defrow oni-smt-right
:prototype 'default-right
:widgets '(oni-smt-jabber-activity
oni-smt-erc
major-mode
oni-smt-current-dictionary
oni-smt-flycheck-errors
version-control minor-modes)
version-control
minor-modes)
:margin 17)
(smt/defrow oni-smt-left