summary refs log tree commit diff stats
path: root/lisp/acdw-modeline.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/acdw-modeline.el')
-rw-r--r--lisp/acdw-modeline.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/acdw-modeline.el b/lisp/acdw-modeline.el index 6a19428..5784148 100644 --- a/lisp/acdw-modeline.el +++ b/lisp/acdw-modeline.el
@@ -33,7 +33,8 @@
33 33
34(defun acdw-modeline/erc () 34(defun acdw-modeline/erc ()
35 "ERC indicator for the modeline." 35 "ERC indicator for the modeline."
36 (when (and (boundp 'erc-modified-channels-object)) 36 (when (and (bound-and-true-p erc-track-mode)
37 (boundp 'erc-modified-channels-object))
37 (format-mode-line erc-modified-channels-object))) 38 (format-mode-line erc-modified-channels-object)))
38 39
39(defun acdw-modeline/god-mode-indicator () 40(defun acdw-modeline/god-mode-indicator ()