* gnus-msg.el (gnus-inews-do-gcc): Fix last patch to deal with
authorDavid Engster <dengste@eml.cc>
Wed, 7 Jan 2009 10:41:21 +0000 (10:41 +0000)
committerDavid Engster <dengste@eml.cc>
Wed, 7 Jan 2009 10:41:21 +0000 (10:41 +0000)
simplified server definitions by converting it via g-server-to-method.

lisp/ChangeLog
lisp/gnus-msg.el

index 5574a84..2554838 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-07  David Engster  <dengste@eml.cc>
+
+       * gnus-msg.el (gnus-inews-do-gcc): Fix last patch to deal with
+       simplified server definitions by converting it via g-server-to-method.
+
 2009-01-06  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-sum.el (gnus-summary-set-local-parameters): Always evaluate
index 822665d..229ceb4 100644 (file)
@@ -1677,7 +1677,10 @@ this is a reply."
                                    group method t t))))
                (gnus-message 1 "Couldn't store article in group %s: %s"
                              group (gnus-status-message method)))
-             (when (gnus-native-method-p method)
+             (when (stringp method)
+               (setq method (gnus-server-to-method method)))
+             (when (and (listp method)
+                        (gnus-native-method-p method))
                (setq group (gnus-group-short-name group)))
              (when (and group-art
                         ;; FIXME: Should gcc-mark-as-read work when