Function: nnml-deletable-article-p

nnml-deletable-article-p is a byte-compiled function defined in nnml.el.gz.

Signature

(nnml-deletable-article-p GROUP ARTICLE)

Documentation

Say whether ARTICLE in GROUP can be deleted.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnml.el.gz
(defun nnml-deletable-article-p (group article)
  "Say whether ARTICLE in GROUP can be deleted."
  (let ((file-name-coding-system nnmail-pathname-coding-system)
	path)
    (when (setq path (nnml-article-to-file article))
      (when (file-writable-p path)
	(or (not nnmail-keep-last-article)
	    (not (eq (cdr (nth 1 (assoc-string group nnml-group-alist)))
		     article)))))))