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

Display the number of untagged entries there are in the current NEWS buffer.

A tagged entry is one that has either "+++" or "---" before its header line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/emacs-news-mode.el.gz
(defun emacs-news-count-untagged-entries ()
  "Display the number of untagged entries there are in the current NEWS buffer.
A tagged entry is one that has either \"+++\" or \"---\" before
its header line."
  (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))))))