From 66c3aa1f8138fe17ec36919e5fbd48b45c79845c Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 30 Jul 2015 12:01:23 -0700 Subject: [PATCH] Added a comment. --- text-counters.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/text-counters.el b/text-counters.el index fb24df7..4f08d68 100644 --- a/text-counters.el +++ b/text-counters.el @@ -18,6 +18,12 @@ ;; Contact 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"))) -- 2.20.1