Show ERC status in modeline
This commit is contained in:
parent
db423b3ce2
commit
3933f42b39
1 changed files with 8 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue