about summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2021-08-07 15:08:53 -0500
committerCase Duckworth2021-08-07 15:08:53 -0500
commit3c7f8650359ce129ab6019f7db7d9d7723428ff7 (patch)
tree85fc8c9ecebdf6f93d239dab42676b56f7641470 /lisp
parentTurn off ERC modeline when clocked in (diff)
downloademacs-3c7f8650359ce129ab6019f7db7d9d7723428ff7.tar.gz
emacs-3c7f8650359ce129ab6019f7db7d9d7723428ff7.zip
Add space to word-count modeline
Honestly I should make the format a customizable variable.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/acdw-modeline.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/acdw-modeline.el b/lisp/acdw-modeline.el index db20b5a..6131484 100644 --- a/lisp/acdw-modeline.el +++ b/lisp/acdw-modeline.el
@@ -118,6 +118,6 @@ Uses `acdw-modeline/word-count-modes' to determine which function to use."
118 #'count-words)) 118 #'count-words))
119 (min (if (region-active-p) (region-beginning) (point-min))) 119 (min (if (region-active-p) (region-beginning) (point-min)))
120 (max (if (region-active-p) (region-end) (point-max)))) 120 (max (if (region-active-p) (region-end) (point-max))))
121 (format "%dW" (funcall fn min max))))) 121 (format " %dW" (funcall fn min max)))))
122 122
123(provide 'acdw-modeline) 123(provide 'acdw-modeline)