* elmo-pop3.el (elmo-network-initialize-session): Call buffer-disable-undo.
authorteranisi <teranisi>
Wed, 23 Aug 2000 03:49:25 +0000 (03:49 +0000)
committerteranisi <teranisi>
Wed, 23 Aug 2000 03:49:25 +0000 (03:49 +0000)
* elmo-imap4.el (elmo-network-initialize-session):
Set current-buffer as an argument for `buffer-disable-undo'.

elmo/ChangeLog
elmo/elmo-imap4.el
elmo/elmo-pop3.el

index 34e17e8..31ec0d3 100644 (file)
@@ -1,5 +1,11 @@
 2000-08-23  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo-pop3.el (elmo-network-initialize-session): Call
+       buffer-disable-undo.
+
+       * elmo-imap4.el (elmo-network-initialize-session):
+       Set current-buffer as an argument for `buffer-disable-undo'.
+
        * elmo-pop3.el (elmo-network-close-session): Don't use
        `process-live-p'.
 
index 167db28..c11acf5 100644 (file)
@@ -1244,7 +1244,7 @@ If optional argument UNMARK is non-nil, unmark."
        response greeting capability mechanism)
     (with-current-buffer (process-buffer process)
       (elmo-set-buffer-multibyte nil)
-      (buffer-disable-undo)
+      (buffer-disable-undo (current-buffer))
       (make-variable-buffer-local 'elmo-imap4-lock)
       (make-local-variable 'elmo-imap4-read-point)
       (setq elmo-imap4-read-point (point-min))
index d455ad9..612690b 100644 (file)
        response capability mechanism)
     (with-current-buffer (process-buffer process)
       (elmo-set-buffer-multibyte nil)
+      (buffer-disable-undo (current-buffer))
       (set-process-filter process 'elmo-pop3-process-filter)
       (make-local-variable 'elmo-pop3-read-point)
       (setq elmo-pop3-read-point (point-min))