changeset 100914:de45b6b07aa7

(mail-bury): Treat pmail-mode like rmail-mode.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 Jan 2009 15:53:05 +0000
parents c2069bd311e6
children ad98f2c635fd
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Mon Jan 05 15:49:50 2009 +0000
+++ b/lisp/mail/sendmail.el	Mon Jan 05 15:53:05 2009 +0000
@@ -791,7 +791,7 @@
 	     (not (one-window-p))
 	     (with-current-buffer
                  (window-buffer (next-window (selected-window) 'not))
-	       (setq rmail-flag (eq major-mode 'rmail-mode))
+	       (setq rmail-flag (memq major-mode '(rmail-mode pmail-mode)))
 	       (setq summary-buffer
 		     (and mail-bury-selects-summary
 			  (boundp 'rmail-summary-buffer)