Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael Shields <shields@msrl.com>
Subject: [PATCH] Recent change causes lots of files to get a X-Draft-From: header
Date: Thu, 02 Jan 2003 07:52:25 +0000	[thread overview]
Message-ID: <87k7hoj8ee.fsf@mulligatwani.msrl.com> (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.




             reply	other threads:[~2003-01-02  7:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-02  7:52 Michael Shields [this message]
2003-01-02  8:49 ` Lars Magne Ingebrigtsen
2003-01-02 15:20   ` Michael Shields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k7hoj8ee.fsf@mulligatwani.msrl.com \
    --to=shields@msrl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).