Mercurial > emacs
comparison lisp/gnus/nnfolder.el @ 19990:1438b35b320b
(nnfolder-request-list): Bind
file-name-coding-system to binary.
(nnfolder-possibly-change-group): Likewise.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 26 Sep 1997 01:50:55 +0000 |
parents | 5f1ab3dd344d |
children | 15fc6acbae7a |
comparison
equal
deleted
inserted
replaced
19989:9049c6de031f | 19990:1438b35b320b |
---|---|
284 (nnfolder-possibly-change-group nil server) | 284 (nnfolder-possibly-change-group nil server) |
285 (save-excursion | 285 (save-excursion |
286 ;; 1997/8/14 by MORIOKA Tomohiko | 286 ;; 1997/8/14 by MORIOKA Tomohiko |
287 ;; for XEmacs/mule. | 287 ;; for XEmacs/mule. |
288 (let ((nnmail-file-coding-system nnmail-active-file-coding-system) | 288 (let ((nnmail-file-coding-system nnmail-active-file-coding-system) |
289 (file-name-coding-system 'binary) ; for Emacs 20 | |
289 (pathname-coding-system 'binary)) ; for XEmacs/mule | 290 (pathname-coding-system 'binary)) ; for XEmacs/mule |
290 (nnmail-find-file nnfolder-active-file) | 291 (nnmail-find-file nnfolder-active-file) |
291 (setq nnfolder-group-alist (nnmail-get-active))) | 292 (setq nnfolder-group-alist (nnmail-get-active))) |
292 t)) | 293 t)) |
293 | 294 |
507 (setq nnfolder-current-buffer nil | 508 (setq nnfolder-current-buffer nil |
508 nnfolder-current-group nil)) | 509 nnfolder-current-group nil)) |
509 ;; Change group. | 510 ;; Change group. |
510 (when (and group | 511 (when (and group |
511 (not (equal group nnfolder-current-group))) | 512 (not (equal group nnfolder-current-group))) |
512 (let ((pathname-coding-system 'binary)) | 513 (let ((file-name-coding-system 'binary) |
514 (pathname-coding-system 'binary)) | |
513 (nnmail-activate 'nnfolder) | 515 (nnmail-activate 'nnfolder) |
514 (when (and (not (assoc group nnfolder-group-alist)) | 516 (when (and (not (assoc group nnfolder-group-alist)) |
515 (not (file-exists-p | 517 (not (file-exists-p |
516 (nnfolder-group-pathname group)))) | 518 (nnfolder-group-pathname group)))) |
517 ;; The group doesn't exist, so we create a new entry for it. | 519 ;; The group doesn't exist, so we create a new entry for it. |