diff options
author | Kenichi Handa <handa@m17n.org> | 1997-09-26 01:50:55 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-09-26 01:50:55 +0000 |
commit | c8e521b489726fcbdb0ab5d3345812e28464edca (patch) | |
tree | eba190ed6445d6089a7458f297d73a9ba4003041 /lisp/gnus/nnmh.el | |
parent | 4f7d7340f8f587e322608b396c5f7d9b2ebb22df (diff) | |
download | emacs-c8e521b489726fcbdb0ab5d3345812e28464edca.tar.gz |
(nnmh-retrieve-headers): Bind
file-name-coding-system to binary.
(nnmh-request-article): Likewise.
(nnmh-request-group): Likewise.
(nnmh-request-list): Likewise.
(nnmh-possibly-change-directory): Likewise.
(nnmh-active-number): Likewise.
Diffstat (limited to 'lisp/gnus/nnmh.el')
-rw-r--r-- | lisp/gnus/nnmh.el | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index 48c0ea2e139..bf4363de717 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el @@ -77,8 +77,8 @@ (> number nnmail-large-newsgroup))) (count 0) ;; 1997/8/12 by MORIOKA Tomohiko - ;; for XEmacs/mule. - (pathname-coding-system 'binary) + (file-name-coding-system 'binary) ; for Emacs 20 + (pathname-coding-system 'binary) ; for XEmacs/mule beg article) (nnmh-possibly-change-directory newsgroup server) ;; We don't support fetching by Message-ID. @@ -138,8 +138,8 @@ nil (concat nnmh-current-directory (int-to-string id)))) ;; 1997/8/12 by MORIOKA Tomohiko - ;; for XEmacs/mule. - (pathname-coding-system 'binary) + (file-name-coding-system 'binary) ; for Emacs 20 + (pathname-coding-system 'binary) ; for XEmacs/mule (nntp-server-buffer (or buffer nntp-server-buffer))) (and (stringp file) (file-exists-p file) @@ -150,8 +150,8 @@ (deffoo nnmh-request-group (group &optional server dont-check) (let ((pathname (nnmail-group-pathname group nnmh-directory)) ;; 1997/8/12 by MORIOKA Tomohiko - ;; for XEmacs/mule. - (pathname-coding-system 'binary) + (file-name-coding-system 'binary) ; for Emacs 20 + (pathname-coding-system 'binary) ; for XEmacs/mule. dir) (cond ((not (file-directory-p pathname)) @@ -190,7 +190,8 @@ (deffoo nnmh-request-list (&optional server dir) (nnheader-insert "") - (let ((pathname-coding-system 'binary) + (let ((file-name-coding-system 'binary) + (pathname-coding-system 'binary) (nnmh-toplev (file-truename (or dir (file-name-as-directory nnmh-directory))))) (nnmh-request-list-1 nnmh-toplev)) @@ -410,8 +411,8 @@ (when newsgroup (let ((pathname (nnmail-group-pathname newsgroup nnmh-directory)) ;; 1997/8/12 by MORIOKA Tomohiko - ;; for XEmacs/mule. - (pathname-coding-system 'binary)) + (file-name-coding-system 'binary) ; for Emacs 20 + (pathname-coding-system 'binary)) ; for XEmacs/mule (if (file-directory-p pathname) (setq nnmh-current-directory pathname) (error "No such newsgroup: %s" newsgroup))))) @@ -461,8 +462,8 @@ (let ((active (cadr (assoc group nnmh-group-alist))) (dir (nnmail-group-pathname group nnmh-directory)) ;; 1997/8/14 by MORIOKA Tomohiko - ;; for XEmacs/mule. - (pathname-coding-system 'binary)) + (file-name-coding-system 'binary) ; for Emacs 20 + (pathname-coding-system 'binary)) ; for XEmacs/mule (unless active ;; The group wasn't known to nnmh, so we just create an active ;; entry for it. |