From: shuhei-k Date: Tue, 25 Aug 1998 23:58:44 +0000 (+0000) Subject: (gnus-agent-read-file): Use `nnheader-insert-file-contents'. X-Git-Tag: semi-mule-199811302358~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=b85af8ee911519fd64debcc4053b188976091095;p=elisp%2Fgnus.git- (gnus-agent-read-file): Use `nnheader-insert-file-contents'. (gnus-agent-save-group-info): Ditto. --- diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el index 0c81559..57bfbf6 100644 --- a/lisp/gnus-agent.el +++ b/lisp/gnus-agent.el @@ -129,7 +129,7 @@ If nil, only read articles will be expired." "Load FILE and do a `read' there." (nnheader-temp-write nil (ignore-errors - (insert-file-contents file) + (nnheader-insert-file-contents file) (goto-char (point-min)) (read (current-buffer))))) @@ -538,7 +538,7 @@ the actual number of articles toggled is returned." (gnus-make-directory (file-name-directory file)) (nnheader-temp-write file (when (file-exists-p file) - (insert-file-contents file)) + (nnheader-insert-file-contents file)) (goto-char (point-min)) (if nntp-server-list-active-group (progn