(gnus-dup-unsuppress-article): don't assume the mail
[gnus] / lisp / mm-uu.el
index 186e219..5db13b6 100644 (file)
@@ -76,7 +76,7 @@ decoder, such as hexbin."
 This can be either \"inline\" or \"attachment\".")
 
 (defvar mm-uu-emacs-sources-regexp "gnu\\.emacs\\.sources"
-  "The regexp of emacs sources groups.")
+  "The regexp of Emacs sources groups.")
 
 (defcustom mm-uu-diff-groups-regexp "gnus\\.commits"
   "*Regexp matching diff groups."
@@ -187,7 +187,10 @@ To disable dissecting shar codes, for instance, add
 Return that buffer."
   (save-excursion
     (let ((obuf (current-buffer))
-         (coding-system buffer-file-coding-system))
+         (coding-system
+          ;; Might not exist in non-MULE XEmacs
+          (when (boundp 'buffer-file-coding-system)
+            buffer-file-coding-system)))
       (set-buffer (generate-new-buffer " *mm-uu*"))
       (setq buffer-file-coding-system coding-system)
       (insert-buffer-substring obuf from to)
@@ -332,7 +335,7 @@ Return that buffer."
     ((eq mm-verify-option 'never) nil)
     ((eq mm-verify-option 'always) t)
     ((eq mm-verify-option 'known) t)
-    (t (y-or-n-p "Verify pgp signed part?")))))
+    (t (y-or-n-p "Verify pgp signed part? ")))))
 
 (eval-when-compile
   (defvar gnus-newsgroup-charset))