projects
/
elisp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa1435b
)
Added a comment.
author
Francois Fleuret
<francois@fleuret.org>
Thu, 30 Jul 2015 19:01:23 +0000
(12:01 -0700)
committer
Francois Fleuret
<francois@fleuret.org>
Thu, 30 Jul 2015 19:01:23 +0000
(12:01 -0700)
text-counters.el
patch
|
blob
|
history
diff --git
a/text-counters.el
b/text-counters.el
index
fb24df7
..
4f08d68
100644
(file)
--- a/
text-counters.el
+++ b/
text-counters.el
@@
-18,6
+18,12
@@
;; Contact <francois@fleuret.org> for comments & bug reports ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Contact <francois@fleuret.org> for comments & bug reports ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; This script automatigally count the number of characters and words
+;; between "----" markers. To activate it automatically when switching
+;; to text-mode, just add to your emacs.el
+;;
+;; (add-hook 'text-mode-hook 'tc/add-text-counters-in-modeline)
+
(defface tc/modeline-face
'((((background light)) (:foreground "blue4"))
(((background dark)) (:foreground "cyan")))
(defface tc/modeline-face
'((((background light)) (:foreground "blue4"))
(((background dark)) (:foreground "cyan")))