Importing pgnus-0.22.
[elisp/gnus.git-] / lisp / nnfolder.el
index b6ba830..7bf7d3a 100644 (file)
@@ -801,7 +801,7 @@ deleted.  Point is left where the deleted region was."
 (defun nnfolder-group-pathname (group)
   "Make pathname for GROUP."
   (setq group
-       (nnheader-encode-coding-string group nnmail-pathname-coding-system))
+       (mm-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