* gnus-group.el (gnus-import-other-newsrc-file): Use insert-file-contents.
authorGlenn Morris <rgm@gnu.org>
Tue, 17 May 2011 02:32:50 +0000 (19:32 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 17 May 2011 02:32:50 +0000 (19:32 -0700)
lisp/gnus/ChangeLog
lisp/gnus/gnus-group.el

index 57f74d4..0680931 100644 (file)
@@ -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
index c265538..a21faa8 100644 (file)
@@ -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))))