Function: doc-view-search-no-of-matches

doc-view-search-no-of-matches is a byte-compiled function defined in doc-view.el.gz.

Signature

(doc-view-search-no-of-matches LIST)

Documentation

Extract the number of matches from the search result LIST.

Source Code

;; Defined in /usr/src/emacs/lisp/doc-view.el.gz
(defun doc-view-search-no-of-matches (list)
  "Extract the number of matches from the search result LIST."
  (let ((no 0))
    (dolist (p list)
      (setq no (+ no (1- (length p)))))
    no))