Sync up with gnus-6_10.
[elisp/gnus.git-] / lisp / nnheader.el
index ba0ef2f..2267749 100644 (file)
@@ -538,7 +538,7 @@ If FILE is t, return the buffer contents as a string."
                ;; Return the buffer contents.
                ((eq ,temp-file t)
                 (set-buffer ,temp-buffer)
-                (buffer-substring (point-min) (point-max)))
+                (buffer-string))
                ;; Save a file.
                (t
                 (set-buffer ,temp-buffer)