diff options
author | Case Duckworth | 2021-08-26 16:04:40 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-26 16:04:40 -0500 |
commit | b8a7f1e3676c067bf97f78e619f3f857f4a03e6f (patch) | |
tree | 881387b13168994a3fb97678f27a287c231fb606 | |
parent | Add `case-repeat-map' to change word case (diff) | |
download | emacs-b8a7f1e3676c067bf97f78e619f3f857f4a03e6f.tar.gz emacs-b8a7f1e3676c067bf97f78e619f3f857f4a03e6f.zip |
Check for `erc-track-mode' in `acdw-modeline/erc'
-rw-r--r-- | lisp/acdw-modeline.el | 3 |
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 () |