changeset 33174:702845b072b7

(mm-display-external): Space prefix temp buffer name. Don't disable undo explicitly.
author Dave Love <fx@gnu.org>
date Fri, 03 Nov 2000 15:49:39 +0000
parents 141bc3acdfbc
children 34454aedc32a
files lisp/gnus/mm-decode.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-decode.el	Fri Nov 03 15:48:49 2000 +0000
+++ b/lisp/gnus/mm-decode.el	Fri Nov 03 15:49:39 2000 +0000
@@ -372,14 +372,13 @@
 	  (let ((cur (current-buffer)))
 	    (if (eq method 'mailcap-save-binary-file)
 		(progn
-		  (set-buffer (generate-new-buffer "*mm*"))
+		  (set-buffer (generate-new-buffer " *mm*"))
 		  (setq method nil))
 	      (mm-insert-part handle)
 	      (let ((win (get-buffer-window cur t)))
 		(when win
 		  (select-window win)))
-	      (switch-to-buffer (generate-new-buffer "*mm*")))
-	    (buffer-disable-undo)
+	      (switch-to-buffer (generate-new-buffer " *mm*")))
 	    (mm-set-buffer-file-coding-system mm-binary-coding-system)
 	    (insert-buffer-substring cur)
 	    (goto-char (point-min))