unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Patch to smtpmail.el -- don't record undo information in smtp trace buffer.
@ 2005-12-04 23:18 Kim F. Storm
  0 siblings, 0 replies; only message in thread
From: Kim F. Storm @ 2005-12-04 23:18 UTC (permalink / raw)



Is there any reason to keep undo information in the SMTP session
buffer used by smtpmail-via-smtp?

The following patch seems to be TRT:

*** smtpmail.el	16 Nov 2005 23:29:56 +0100	1.78
--- smtpmail.el	05 Dec 2005 00:16:21 +0100	
***************
*** 605,610 ****
--- 605,611 ----
  
  	  ;; 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

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-04 23:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-04 23:18 Patch to smtpmail.el -- don't record undo information in smtp trace buffer Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).