(gnus-inews-add-send-actions): Do not add `set-window-configuration' to action
authorkeiichi <keiichi>
Thu, 19 Nov 1998 12:10:30 +0000 (12:10 +0000)
committerkeiichi <keiichi>
Thu, 19 Nov 1998 12:10:30 +0000 (12:10 +0000)
when `message-use-multi-frames' is non-`nil'.

lisp/gnus-msg.el

index bd88160..5ef7209 100644 (file)
@@ -230,8 +230,9 @@ Thank you for your help in stamping out bugs.
        `(lambda (arg)
           (gnus-post-method arg ,gnus-newsgroup-name)))
   (setq message-user-agent (gnus-extended-version))
-  (message-add-action
-   `(set-window-configuration ,winconf) 'exit 'postpone 'kill)
+  (when (not message-use-multi-frames)
+    (message-add-action
+     `(set-window-configuration ,winconf) 'exit 'postpone 'kill))
   (message-add-action
    `(when (gnus-buffer-exists-p ,buffer)
       (save-excursion