Function: mairix-gnus-ephemeral-nndoc

mairix-gnus-ephemeral-nndoc is a byte-compiled function defined in mairix.el.gz.

Signature

(mairix-gnus-ephemeral-nndoc FOLDER)

Documentation

Create ephemeral nndoc group for reading mbox file FOLDER in Gnus.

Source Code

;; Defined in /usr/src/emacs/lisp/net/mairix.el.gz
;; Display function:
(defun mairix-gnus-ephemeral-nndoc (folder)
  "Create ephemeral nndoc group for reading mbox file FOLDER in Gnus."
  (unless (and (fboundp 'gnus-alive-p)
	       (gnus-alive-p))
    (error "Gnus is not running"))
  (gnus-group-read-ephemeral-group
   ;; add randomness to group string to prevent Gnus from using a
   ;; cached version
   (format "mairix.%s" (number-to-string (random 10000)))
   `(nndoc "mairix"
	   (nndoc-address ,folder)
	   (nndoc-article-type mbox))))