From 072be7db2bd5d724b3c0a012cf3d51b74ded9365 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 16 May 2011 19:32:50 -0700 Subject: [PATCH] * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-group.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 57f74d40abf..068093159e3 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2011-05-17 Glenn Morris + + * gnus-group.el (gnus-import-other-newsrc-file): + Use insert-file-contents. + 2011-05-16 Teodor Zlatanov * gnus-sum.el (gnus-summary-hide-all-threads): Add update message every diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index c265538e19c..a21faa8c983 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -4407,7 +4407,7 @@ and the second element is the address." ;; file. Use with caution, if at all. (defun gnus-import-other-newsrc-file (file) (with-temp-buffer - (insert-file file) + (insert-file-contents file) (let (form) (while (ignore-errors (setq form (read (current-buffer)))) -- 2.39.2