Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Recent change causes lots of files to get a X-Draft-From: header
@ 2003-01-02  7:52 Michael Shields
  2003-01-02  8:49 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Shields @ 2003-01-02  7:52 UTC (permalink / raw)


Just now I tried to save an Emacs Lisp file and found that an
X-Draft-From: header had appeared in it.


2003-01-02  Michael Shields  <shields@msrl.com>

	* nndraft.el (nndraft-request-associate-buffer): Make
	write-contents-hooks buffer-local before setting it.

--- lisp/nndraft.el	2003/01/01 18:51:42	6.15
+++ lisp/nndraft.el	2003/01/02 07:53:06
@@ -173,6 +173,7 @@
     (setq buffer-file-name (expand-file-name file)
 	  buffer-auto-save-file-name (make-auto-save-file-name))
     (clear-visited-file-modtime)
+    (make-variable-buffer-local 'write-contents-hooks)
     (push 'nndraft-generate-headers write-contents-hooks)
     article))
 

-- 
Shields.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-02 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02  7:52 [PATCH] Recent change causes lots of files to get a X-Draft-From: header Michael Shields
2003-01-02  8:49 ` Lars Magne Ingebrigtsen
2003-01-02 15:20   ` Michael Shields

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 NNTP newsgroup(s).