]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-bury): Test that rmail-summary-buffer is boundp.
authorRichard M. Stallman <rms@gnu.org>
Sat, 18 Jun 1994 21:12:42 +0000 (21:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 18 Jun 1994 21:12:42 +0000 (21:12 +0000)
lisp/mail/sendmail.el

index 5c192cb76a4f27a95a4aa0de50095209cfb77823..653c630ed7e4a75efbd667afb0db366e814dbda9 100644 (file)
@@ -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))))