(nnweb-gmane-create-mapping): Use the article number from
[gnus] / lisp / uudecode.el
index 2c846b3..58de12a 100644 (file)
@@ -1,7 +1,7 @@
 ;;; uudecode.el -- elisp native uudecode
 
 ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-;;   2005 Free Software Foundation, Inc.
+;;   2005, 2006 Free Software Foundation, Inc.
 
 ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu>
 ;; Keywords: uudecode news
@@ -98,7 +98,11 @@ used is specified by `uudecode-decoder-program'."
                              (make-temp-name "uu")
                              uudecode-temporary-file-directory))))
        (let ((cdir default-directory)
-             default-process-coding-system)
+             (default-process-coding-system
+               (if (featurep 'xemacs)
+                   ;; In XEmacs, `nil' is not a valid coding system.
+                   '(binary . binary)
+                 nil)))
          (unwind-protect
              (with-temp-buffer
                (insert "begin 600 " (file-name-nondirectory tempfile) "\n")