Function: nnml-directory-articles
nnml-directory-articles is a byte-compiled function defined in
nnml.el.gz.
Signature
(nnml-directory-articles DIR)
Documentation
Return a list of all article files in a directory.
Use the nov database for that directory if available.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnml.el.gz
(defun nnml-directory-articles (dir)
"Return a list of all article files in a directory.
Use the nov database for that directory if available."
(if (or gnus-nov-is-evil nnml-nov-is-evil
(not (file-exists-p
(expand-file-name nnml-nov-file-name dir))))
(nnheader-directory-articles dir)
;; build list from .overview if available
;; We would use nnml-open-nov, except that nnml-nov-buffer-alist is
;; defvoo'd, and we might get called when it hasn't been swapped in.
(with-current-buffer (nnml-get-nov-buffer nnml-current-group)
(let ((list nil)
art)
(goto-char (point-min))
(while (not (eobp))
(setq art (read (current-buffer)))
(push art list)
(forward-line 1))
list))))