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
|
ispell-local-dictionary
|
||||||
flyspell-default-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
|
(smt/defwidget oni-smt-position
|
||||||
:text (lambda (_) (format-mode-line "%l/%c:%p")))
|
:text (lambda (_) (format-mode-line "%l/%c:%p")))
|
||||||
|
|
||||||
|
@ -146,10 +151,12 @@
|
||||||
(smt/defrow oni-smt-right
|
(smt/defrow oni-smt-right
|
||||||
:prototype 'default-right
|
:prototype 'default-right
|
||||||
:widgets '(oni-smt-jabber-activity
|
:widgets '(oni-smt-jabber-activity
|
||||||
|
oni-smt-erc
|
||||||
major-mode
|
major-mode
|
||||||
oni-smt-current-dictionary
|
oni-smt-current-dictionary
|
||||||
oni-smt-flycheck-errors
|
oni-smt-flycheck-errors
|
||||||
version-control minor-modes)
|
version-control
|
||||||
|
minor-modes)
|
||||||
:margin 17)
|
:margin 17)
|
||||||
|
|
||||||
(smt/defrow oni-smt-left
|
(smt/defrow oni-smt-left
|
||||||
|
|
Loading…
Reference in a new issue