changeset 4194:053660379077

(mail-bury): Check that frame-parameters is defined.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Jul 1993 21:42:52 +0000
parents 97649642e730
children ac3ba761ac85
files lisp/mail/sendmail.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Tue Jul 20 21:15:26 1993 +0000
+++ b/lisp/mail/sendmail.el	Tue Jul 20 21:42:52 1993 +0000
@@ -298,7 +298,8 @@
   "Bury this mail buffer."
   (let ((newbuf (other-buffer (current-buffer))))
     (bury-buffer (current-buffer))
-    (if (and (cdr (assq 'dedicated (frame-parameters)))
+    (if (and (fboundp 'frame-parameters)
+	     (cdr (assq 'dedicated (frame-parameters)))
 	     (not (null (delq (selected-frame) (visible-frame-list)))))
 	(delete-frame (selected-frame))
       (if (and (not arg)