Function: count-words--message

count-words--message is a byte-compiled function defined in simple.el.gz.

Signature

(count-words--message STR START END)

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun count-words--message (str start end)
  (let ((lines (count-lines start end))
	(words (count-words start end))
	(chars (- end start)))
    (message "%s has %d line%s, %d word%s, and %d character%s."
	     str
	     lines (if (= lines 1) "" "s")
	     words (if (= words 1) "" "s")
	     chars (if (= chars 1) "" "s"))))