changeset 7963:b66df6f80740

(mail-bury): Test that rmail-summary-buffer is boundp.
author Richard M. Stallman <rms@gnu.org>
date Sat, 18 Jun 1994 21:12:42 +0000
parents 05260d3b988d
children 613f7a7d5778
files lisp/mail/sendmail.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Sat Jun 18 21:04:14 1994 +0000
+++ b/lisp/mail/sendmail.el	Sat Jun 18 21:12:42 1994 +0000
@@ -334,7 +334,8 @@
 	       (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))))