about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-08-26 16:04:40 -0500
committerCase Duckworth2021-08-26 16:04:40 -0500
commitb8a7f1e3676c067bf97f78e619f3f857f4a03e6f (patch)
tree881387b13168994a3fb97678f27a287c231fb606 /lisp
parentAdd `case-repeat-map' to change word case (diff)
downloademacs-b8a7f1e3676c067bf97f78e619f3f857f4a03e6f.tar.gz
emacs-b8a7f1e3676c067bf97f78e619f3f857f4a03e6f.zip
Check for `erc-track-mode' in `acdw-modeline/erc'
Diffstat (limited to 'lisp')
-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 ()