(gnus-group-post-news): Don't assume that "" will
authorJesper Harder <harder@ifa.au.dk>
Tue, 7 Jan 2003 00:19:51 +0000 (00:19 +0000)
committerJesper Harder <harder@ifa.au.dk>
Tue, 7 Jan 2003 00:19:51 +0000 (00:19 +0000)
always be interpreted as news.

lisp/ChangeLog
lisp/gnus-msg.el

index 635fe94..59962d3 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-07  Jesper Harder  <harder@ifa.au.dk>
+
+       * gnus-msg.el (gnus-group-post-news): Don't assume that "" will
+       always be interpreted as news.
+
 2003-01-07  Simon Josefsson  <jas@extundo.com>
 
        * gnus-sieve.el (gnus-sieve-script): Use the crosspost argument to
index 68a473b..610c18b 100644 (file)
@@ -1,5 +1,5 @@
 ;;; gnus-msg.el --- mail and post interface for Gnus
-;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
 ;;        Free Software Foundation, Inc.
 
 ;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
@@ -590,7 +590,8 @@ a news."
           ""))
        ;; make sure last viewed article doesn't affect posting styles:
        (gnus-article-copy))
-    (gnus-post-news 'post gnus-newsgroup-name)))
+    (gnus-post-news 'post gnus-newsgroup-name nil nil nil nil
+                   (string= gnus-newsgroup-name ""))))
 
 (defun gnus-summary-mail-other-window (&optional arg)
   "Start composing a mail in another window.