From: Richard M. Stallman Date: Sat, 18 Jun 1994 21:12:42 +0000 (+0000) Subject: (mail-bury): Test that rmail-summary-buffer is boundp. X-Git-Tag: emacs-19.34~7890 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6cfc977ba316d4254fb4112e4d04231445883b20;p=emacs.git (mail-bury): Test that rmail-summary-buffer is boundp. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 5c192cb76a4..653c630ed7e 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -334,7 +334,8 @@ Prefix arg means don't delete this window." (set-buffer (window-buffer (next-window (selected-window) 'not))) (setq rmail-flag (eq major-mode 'rmail-mode)) (setq summary-buffer - (and rmail-summary-buffer + (and (boundp 'rmail-summary-buffer) + rmail-summary-buffer (buffer-name rmail-summary-buffer) (not (get-buffer-window rmail-summary-buffer)) rmail-summary-buffer))))