# HG changeset patch # User Richard M. Stallman # Date 743204572 0 # Node ID 0536603790770b2c0579f8e88ad2fb3bc0307cac # Parent 97649642e730c4f184c61890cc76064abbfd41df (mail-bury): Check that frame-parameters is defined. diff -r 97649642e730 -r 053660379077 lisp/mail/sendmail.el --- 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)