changeset 5514:8112b5b2651b

(rmail-summary-delete-forward): Fix regexp used for recognizing deleted message. (rmail-summary-output, rmail-summary-output-to-rmail-file): Use rmail-summary-delete-forward.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Jan 1994 13:57:29 +0000
parents d7770758acfd
children 920b55d2057b
files lisp/mail/rmailsum.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Sat Jan 08 13:28:03 1994 +0000
+++ b/lisp/mail/rmailsum.el	Sat Jan 08 13:57:29 1994 +0000
@@ -409,7 +409,8 @@
       (pop-to-buffer rmail-summary-buffer)
       (rmail-summary-mark-deleted del-msg)
       (while (and (not (if backward (bobp) (eobp)))
-		  (save-excursion (beginning-of-line) (looking-at " [0-9]+D")))
+		  (save-excursion (beginning-of-line)
+				  (looking-at " +[0-9]+D")))
 	(forward-line (if backward -1 1))))))
 
 (defun rmail-summary-delete-backward ()
@@ -1042,7 +1043,7 @@
     (let ((rmail-delete-after-output nil))
       (call-interactively 'rmail-output-to-rmail-file)))
   (if rmail-delete-after-output
-      (rmail-summary-delete-message nil)))
+      (rmail-summary-delete-forward nil)))
 
 (defun rmail-summary-output ()
   "Append this message to Unix mail file named FILE-NAME."
@@ -1052,7 +1053,7 @@
     (let ((rmail-delete-after-output nil))
       (call-interactively 'rmail-output)))
   (if rmail-delete-after-output
-      (rmail-summary-delete-message nil)))
+      (rmail-summary-delete-forward nil)))
 
 ;; Sorting messages in Rmail Summary buffer.