diff options
author | Case Duckworth | 2021-08-12 21:05:48 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-12 21:05:48 -0500 |
commit | dc1284c5baa22cfb8e6895c221fdc2eee42318ad (patch) | |
tree | e9aa19ab780b33b59029155897a081f56b96c5f5 | |
parent | Correct simple-modeline--format for olivetti-mode, etc. (diff) | |
download | emacs-dc1284c5baa22cfb8e6895c221fdc2eee42318ad.tar.gz emacs-dc1284c5baa22cfb8e6895c221fdc2eee42318ad.zip |
Only show wc mode-line in wc-mode
-rw-r--r-- | init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index 7befda5..7e2c1ea 100644 --- a/init.el +++ b/init.el | |||
@@ -1511,7 +1511,8 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1511 | 1511 | ||
1512 | (defun acdw-modeline/wc () | 1512 | (defun acdw-modeline/wc () |
1513 | "Display current `wc-buffer-stats'." | 1513 | "Display current `wc-buffer-stats'." |
1514 | (or wc-buffer-stats "[w]"))) | 1514 | (when wc-mode |
1515 | (or wc-buffer-stats "[w]")))) | ||
1515 | 1516 | ||
1516 | (setup (:straight web-mode) | 1517 | (setup (:straight web-mode) |
1517 | (:option css-level-offset 2 | 1518 | (:option css-level-offset 2 |