]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/gnus-uu.el
Merge from gnus--devo--0
[gnu-emacs] / lisp / gnus / gnus-uu.el
index 3a045c2c234d1a9b6de8d2d2d1db3c14b4faec48..cdf5e4dbff7356f764f1314d0aa839092a3075b1 100644 (file)
@@ -1,7 +1,7 @@
 ;;; gnus-uu.el --- extract (uu)encoded files in Gnus
 
 ;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998,
-;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+;;   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Created: 2 Oct 1993
@@ -1051,7 +1051,7 @@ When called interactively, prompt for REGEXP."
        (unless state
          (push 'middle state))
        (mm-with-unibyte-buffer
-         (insert-buffer gnus-original-article-buffer)
+         (insert-buffer-substring gnus-original-article-buffer)
          (yenc-decode-region (point-min) (point-max))
          (when (and (member 'begin state)
                     (file-exists-p gnus-uu-yenc-article-name))