summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-18 21:12:42 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-18 21:12:42 +0000
commit6cfc977ba316d4254fb4112e4d04231445883b20 (patch)
treef6d758a375954e6338fc3462b0be0139cedf1494 /lisp/mail
parentba1e23bf7645113734ca1a953086cf6af8060fb1 (diff)
downloademacs-6cfc977ba316d4254fb4112e4d04231445883b20.tar.gz
(mail-bury): Test that rmail-summary-buffer is boundp.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/sendmail.el3
1 files changed, 2 insertions, 1 deletions
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))))