diff options
| author | Richard M. Stallman | 1994-01-08 13:57:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-08 13:57:29 +0000 |
| commit | 94eeb96a5413de3745ab8e7e18eb050db1fa401c (patch) | |
| tree | 28f89f4bf5390f5ac558da743bd8e550f7aa9e4e | |
| parent | 80e4aa30c47177c13230af7317e3f206ed0537cd (diff) | |
| download | emacs-94eeb96a5413de3745ab8e7e18eb050db1fa401c.tar.gz emacs-94eeb96a5413de3745ab8e7e18eb050db1fa401c.zip | |
(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.
| -rw-r--r-- | lisp/mail/rmailsum.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 5bcbc2f5ae8..46210dee5f7 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -409,7 +409,8 @@ With prefix argument, delete and move backward." | |||
| 409 | (pop-to-buffer rmail-summary-buffer) | 409 | (pop-to-buffer rmail-summary-buffer) |
| 410 | (rmail-summary-mark-deleted del-msg) | 410 | (rmail-summary-mark-deleted del-msg) |
| 411 | (while (and (not (if backward (bobp) (eobp))) | 411 | (while (and (not (if backward (bobp) (eobp))) |
| 412 | (save-excursion (beginning-of-line) (looking-at " [0-9]+D"))) | 412 | (save-excursion (beginning-of-line) |
| 413 | (looking-at " +[0-9]+D"))) | ||
| 413 | (forward-line (if backward -1 1)))))) | 414 | (forward-line (if backward -1 1)))))) |
| 414 | 415 | ||
| 415 | (defun rmail-summary-delete-backward () | 416 | (defun rmail-summary-delete-backward () |
| @@ -1042,7 +1043,7 @@ buffer visiting that file." | |||
| 1042 | (let ((rmail-delete-after-output nil)) | 1043 | (let ((rmail-delete-after-output nil)) |
| 1043 | (call-interactively 'rmail-output-to-rmail-file))) | 1044 | (call-interactively 'rmail-output-to-rmail-file))) |
| 1044 | (if rmail-delete-after-output | 1045 | (if rmail-delete-after-output |
| 1045 | (rmail-summary-delete-message nil))) | 1046 | (rmail-summary-delete-forward nil))) |
| 1046 | 1047 | ||
| 1047 | (defun rmail-summary-output () | 1048 | (defun rmail-summary-output () |
| 1048 | "Append this message to Unix mail file named FILE-NAME." | 1049 | "Append this message to Unix mail file named FILE-NAME." |
| @@ -1052,7 +1053,7 @@ buffer visiting that file." | |||
| 1052 | (let ((rmail-delete-after-output nil)) | 1053 | (let ((rmail-delete-after-output nil)) |
| 1053 | (call-interactively 'rmail-output))) | 1054 | (call-interactively 'rmail-output))) |
| 1054 | (if rmail-delete-after-output | 1055 | (if rmail-delete-after-output |
| 1055 | (rmail-summary-delete-message nil))) | 1056 | (rmail-summary-delete-forward nil))) |
| 1056 | 1057 | ||
| 1057 | ;; Sorting messages in Rmail Summary buffer. | 1058 | ;; Sorting messages in Rmail Summary buffer. |
| 1058 | 1059 | ||