Function: nnfolder-group-pathname
nnfolder-group-pathname is a byte-compiled function defined in
nnfolder.el.gz.
Signature
(nnfolder-group-pathname GROUP)
Documentation
Make file name for GROUP.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnfolder.el.gz
(defun nnfolder-group-pathname (group)
"Make file name for GROUP."
(setq group
(encode-coding-string group nnmail-pathname-coding-system))
(let ((dir (file-name-as-directory (expand-file-name nnfolder-directory))))
;; If this file exists, we use it directly.
(if (or nnmail-use-long-file-names
(file-exists-p (concat dir group)))
(concat dir group)
;; If not, we translate dots into slashes.
(concat dir (nnheader-replace-chars-in-string group ?. ?/)))))