From: Francois Fleuret Date: Thu, 30 Jul 2015 19:01:23 +0000 (-0700) Subject: Added a comment. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=66c3aa1f8138fe17ec36919e5fbd48b45c79845c;p=elisp.git Added a comment. --- 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")))