diff options
author | Case Duckworth | 2021-05-19 17:06:32 -0500 |
---|---|---|
committer | Case Duckworth | 2021-05-19 17:06:32 -0500 |
commit | ccf03a4be3ee88110d35818dffcd88517c1d1787 (patch) | |
tree | 4a3af545eedb58f5a240abc777bad47f54de711c /init.el | |
parent | Rewrite acdw-modeline/word-count to show region counts (diff) | |
download | emacs-ccf03a4be3ee88110d35818dffcd88517c1d1787.tar.gz emacs-ccf03a4be3ee88110d35818dffcd88517c1d1787.zip |
Change definition of `acdw-org/count-words'
(I renamed it from `acdw-org/word-count'.) It's still too slow for use in the modeline. So I have work to do still...
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.el b/init.el index b8584b6..3bec384 100644 --- a/init.el +++ b/init.el | |||
@@ -973,7 +973,8 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
973 | (setup (:straight simple-modeline) | 973 | (setup (:straight simple-modeline) |
974 | (setup (:straight minions)) | 974 | (setup (:straight minions)) |
975 | (:option | 975 | (:option |
976 | ;; (prepend acdw-modeline/word-count-modes) '(org-mode . #'acdw-org/word-count) | 976 | ;; `acdw-org/count-words' is too slow to use in the modeline. |
977 | ;; (prepend acdw-modeline/word-count-modes) '(org-mode . acdw-org/count-words) | ||
977 | simple-modeline-segments '((acdw-modeline/modified | 978 | simple-modeline-segments '((acdw-modeline/modified |
978 | acdw-modeline/buffer-name | 979 | acdw-modeline/buffer-name |
979 | acdw-modeline/vc-branch | 980 | acdw-modeline/vc-branch |