Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] gnus-draft.el
@ 1998-10-11 21:28 Mike McEwan
  0 siblings, 0 replies; only message in thread
From: Mike McEwan @ 1998-10-11 21:28 UTC (permalink / raw)


  I found I couldn't send `mail' from the draft group when
plugged. Sure enough the ChangeLog told the story. The following does
it for me:

--- ChangeLog	1998/10/11 17:34:53	1.1.1.1
+++ ChangeLog	1998/10/11 21:26:55
@@ -1,3 +1,8 @@
+1998-10-11  Mike McEwan  <mike@lotusland.demon.co.uk>
+
+	* gnus-draft.el (gnus-draft-send): Don't check the server when
+	type is `mail'.
+
 Sun Oct 11 02:28:40 1998  Lars Magne Ingebrigtsen  <larsi@menja.ifi.uio.no>
 
 	* gnus.el: Pterodactyl Gnus v0.34 is released.
--- gnus-draft.el	1998/10/11 17:34:53	1.1.1.1
+++ gnus-draft.el	1998/10/11 21:02:33
@@ -135,7 +135,8 @@
 	(message-remove-header gnus-agent-meta-information-header)))
     ;; Then we send it.  If we have no meta-information, we just send
     ;; it and let Message figure out how.
-    (when (and (or (gnus-server-opened method)
+    (when (and (or (eq type 'mail) ;Don't check server if `mail'.
+		   (gnus-server-opened method)
 		   (gnus-open-server method))
 	       (if type
 		   (let ((message-this-is-news (eq type 'news))

-- 
Mike.


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

only message in thread, other threads:[~1998-10-11 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-11 21:28 [patch] gnus-draft.el Mike McEwan

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).