Commit 6f60853a authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(mail-bury): Don't delete the frame where the

mail was being composed if the terminal cannot display more than
one frame; instead, switch to previous frame.
parent 8a60950d
2004-04-24 Eli Zaretskii <eliz@gnu.org>
* mail/sendmail.el (mail-bury): Don't delete the frame where the
mail was being composed if the terminal cannot display more than
one frame; instead, switch to previous frame.
* mail/rmail.el (rmail-mail-new-frame): Doc fix.
(rmail-start-mail): Support rmail-mail-new-frame even on
terminals that can display only one frame at a time.
......
......@@ -714,7 +714,12 @@ Prefix arg means don't delete this window."
(if (and (or (window-dedicated-p (frame-selected-window))
(cdr (assq 'mail-dedicated-frame (frame-parameters))))
(not (null (delq (selected-frame) (visible-frame-list)))))
(delete-frame (selected-frame))
(progn
(if (display-multi-frame-p)
(delete-frame (selected-frame))
;; The previous frame is where normally they have the
;; RMAIL buffer displayed.
(other-frame -1)))
(let (rmail-flag summary-buffer)
(and (not arg)
(not (one-window-p))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment