diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-06-18 21:12:42 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-06-18 21:12:42 +0000 |
commit | 6cfc977ba316d4254fb4112e4d04231445883b20 (patch) | |
tree | f6d758a375954e6338fc3462b0be0139cedf1494 /lisp/mail | |
parent | ba1e23bf7645113734ca1a953086cf6af8060fb1 (diff) | |
download | emacs-6cfc977ba316d4254fb4112e4d04231445883b20.tar.gz |
(mail-bury): Test that rmail-summary-buffer is boundp.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/sendmail.el | 3 |
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)))) |