From b85af8ee911519fd64debcc4053b188976091095 Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Tue, 25 Aug 1998 23:58:44 +0000 Subject: [PATCH] (gnus-agent-read-file): Use `nnheader-insert-file-contents'. (gnus-agent-save-group-info): Ditto. --- lisp/gnus-agent.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.10.4