Function: emacs-news-count-untagged-entries

emacs-news-count-untagged-entries is an interactive and byte-compiled function defined in emacs-news-mode.el.gz.

Signature

(emacs-news-count-untagged-entries)

Documentation

Say how many untagged entries there are in the current NEWS buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/emacs-news-mode.el.gz
(defun emacs-news-count-untagged-entries ()
  "Say how many untagged entries there are in the current NEWS buffer."
  (interactive nil emacs-news-mode)
  (save-excursion
    (goto-char (point-min))
    (let ((i 0))
      (while (emacs-news-next-untagged-entry)
        (setq i (1+ i)))
      (message (if (= i 1)
                   "There's 1 untagged entry"
                 (format "There are %s untagged entries" i))))))