]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-bury): Use window-dedicated-p.
authorKarl Heuer <kwzh@gnu.org>
Fri, 15 Dec 1995 21:16:34 +0000 (21:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 15 Dec 1995 21:16:34 +0000 (21:16 +0000)
lisp/mail/sendmail.el

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