Mercurial > emacs
changeset 18442:83a349d63da6
(rmail-get-new-mail): If conversion fails, delete the text that was inserted.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 25 Jun 1997 05:07:36 +0000 |
parents | c154adda572d |
children | 393843d18bec |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Wed Jun 25 04:52:54 1997 +0000 +++ b/lisp/mail/rmail.el Wed Jun 25 05:07:36 1997 +0000 @@ -1131,6 +1131,8 @@ (if (and (not file-name) (not success)) (let ((delfiles delete-files) (count 0)) + ;; Try to delete the garbage just inserted. + (delete-region (point-min) (point-max)) (while delfiles (while (file-exists-p (format "RMAILOSE.%d" count)) (setq count (1+ count)))