# HG changeset patch # User Markus Rost # Date 913131254 0 # Node ID e532573faa40a3300b5d67ddfb065fd8210bb581 # Parent 422bd4826b2c578ad252a0d55f2d462abc7a342c (rmail-output-to-rmail-file): Avoid multiple output of last undeleted message. diff -r 422bd4826b2c -r e532573faa40 lisp/mail/rmailout.el --- a/lisp/mail/rmailout.el Mon Dec 07 19:27:26 1998 +0000 +++ b/lisp/mail/rmailout.el Tue Dec 08 15:34:14 1998 +0000 @@ -178,9 +178,9 @@ (if redelete (rmail-set-attribute "deleted" t)))) (setq count (1- count)) (if rmail-delete-after-output - (rmail-delete-forward) + (unless (rmail-delete-forward) (setq count 0)) (if (> count 0) - (rmail-next-undeleted-message 1)))))) + (unless (rmail-next-undeleted-message 1) (setq count 0))))))) ;;;###autoload (defcustom rmail-fields-not-to-output nil