From: Glenn Morris Date: Tue, 17 May 2011 02:32:50 +0000 (-0700) Subject: * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/072be7db2bd5d724b3c0a012cf3d51b74ded9365 * gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 57f74d40ab..068093159e 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 c265538e19..a21faa8c98 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))))