From: keiichi Date: Thu, 19 Nov 1998 12:10:30 +0000 (+0000) Subject: (gnus-inews-add-send-actions): Do not add `set-window-configuration' to action X-Git-Tag: gnus-6_8-199811302358~12 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=94e0fcfd7a306fc1f3fc773d171c37b14b0a0baa;p=elisp%2Fgnus.git- (gnus-inews-add-send-actions): Do not add `set-window-configuration' to action when `message-use-multi-frames' is non-`nil'. --- diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index bd88160..5ef7209 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -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