diff options
author | Case Duckworth | 2021-08-13 08:29:16 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-13 08:29:16 -0500 |
commit | 8a9cfd8b41bfe9fa66bb2a637b0543f1f1f51f8b (patch) | |
tree | c44e0604f8f4ff7fdd47b739ee61b757768d548b | |
parent | Undo earlier change with ERC message types (diff) | |
download | emacs-8a9cfd8b41bfe9fa66bb2a637b0543f1f1f51f8b.tar.gz emacs-8a9cfd8b41bfe9fa66bb2a637b0543f1f1f51f8b.zip |
Provide for when wc-mode isn't bound yet
-rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el index 7ba3721..68683cb 100644 --- a/init.el +++ b/init.el | |||
@@ -1509,7 +1509,7 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1509 | 1509 | ||
1510 | (defun acdw-modeline/wc () | 1510 | (defun acdw-modeline/wc () |
1511 | "Display current `wc-buffer-stats'." | 1511 | "Display current `wc-buffer-stats'." |
1512 | (when wc-mode | 1512 | (when (bound-and-true-p wc-mode) |
1513 | (or wc-buffer-stats "[w]")))) | 1513 | (or wc-buffer-stats "[w]")))) |
1514 | 1514 | ||
1515 | (setup (:straight web-mode) | 1515 | (setup (:straight web-mode) |