]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-bury): Check mail-dedicated-frame frame param.
authorRichard M. Stallman <rms@gnu.org>
Thu, 25 Jan 1996 20:27:45 +0000 (20:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 25 Jan 1996 20:27:45 +0000 (20:27 +0000)
lisp/mail/sendmail.el

index fc14657c39b069921a6903f1a13541cd3b0d43c8..a0f27c14d0abea3c15ccb12dad19571905523992 100644 (file)
@@ -420,7 +420,8 @@ Prefix arg means don't delete this window."
   "Bury this mail buffer."
   (let ((newbuf (other-buffer (current-buffer))))
     (bury-buffer (current-buffer))
-    (if (and (window-dedicated-p (frame-selected-window))
+    (if (and (or (window-dedicated-p (frame-selected-window))
+                (assq 'mail-dedicated-frame (frame-parameters)))
             (not (null (delq (selected-frame) (visible-frame-list)))))
        (delete-frame (selected-frame))
       (let (rmail-flag summary-buffer)