start is nil, as was done in tar-mode.el.
+2009-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * mail/rmail.el (rmail-write-region-annotate): Only switch buffer if
+ start is nil, as was done in tar-mode.el.
+
2009-01-23 Glenn Morris <rgm@gnu.org>
* mail/sendmail.el (mail-bury): Revert previous change now pmail is no
;; Used in `write-region-annotate-functions' to write rmail files.
(defun rmail-write-region-annotate (start end)
- (when (rmail-buffers-swapped-p)
+ (when (and (null start) (rmail-buffers-swapped-p))
(set-buffer rmail-view-buffer)
(widen)
nil))