From: Kim F. Storm Date: Fri, 9 Dec 2005 09:44:35 +0000 (+0000) Subject: (smtpmail-via-smtp): Disable undo in SMTP buffer. X-Git-Tag: emacs-pretest-22.0.90~5411 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9cf328cc65acd9515b088173f93a12edf88dae63;p=emacs.git (smtpmail-via-smtp): Disable undo in SMTP buffer. --- diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 175e32becdf..0eb956981ce 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -605,6 +605,7 @@ This is relative to `smtpmail-queue-dir'.") ;; clear the trace buffer of old output (with-current-buffer process-buffer + (setq buffer-undo-list t) (erase-buffer)) ;; open the connection to the server