diff lisp/vm/vm-pop.el @ 54:05472e90ae02 r19-16-pre2

Import from CVS: tag r19-16-pre2
author cvs
date Mon, 13 Aug 2007 08:57:55 +0200
parents ec9a17fef872
children 131b0175ea99
line wrap: on
line diff
--- a/lisp/vm/vm-pop.el	Mon Aug 13 08:57:25 2007 +0200
+++ b/lisp/vm/vm-pop.el	Mon Aug 13 08:57:55 2007 +0200
@@ -191,11 +191,12 @@
 	  (setq process-buffer
 		(get-buffer-create (format "trace of POP session to %s" host)))
 	  ;; Tell XEmacs/MULE not to mess with the text.
-	  (and (vm-xemacs-mule-p)
-	       (set-file-coding-system 'binary t))
+	  (and vm-xemacs-mule-p
+	       (set-buffer-file-coding-system 'binary t))
 	  ;; clear the trace buffer of old output
 	  (save-excursion
 	    (set-buffer process-buffer)
+	    (buffer-disable-undo)
 	    (erase-buffer))
 	  ;; open the connection to the server
 	  (setq process (open-network-stream "POP" process-buffer host port))