diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/gnus/gnus-group.el | 2 |
2 files changed, 6 insertions, 1 deletions
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 <rgm@gnu.org> + + * gnus-group.el (gnus-import-other-newsrc-file): + Use insert-file-contents. + 2011-05-16 Teodor Zlatanov <tzz@lifelogs.com> * 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)))) |