diff options
| -rw-r--r-- | lisp/mail/rmailsum.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 42cdbbb384f..cd289c0df24 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -1483,15 +1483,16 @@ The variables `rmail-secondary-file-directory' and | |||
| 1483 | (if rmail-delete-after-output | 1483 | (if rmail-delete-after-output |
| 1484 | (rmail-summary-delete-forward nil))) | 1484 | (rmail-summary-delete-forward nil))) |
| 1485 | 1485 | ||
| 1486 | (defun rmail-summary-output () | 1486 | (defun rmail-summary-output (&optional file-name) |
| 1487 | "Append this message to Unix mail file named FILE-NAME." | 1487 | "Append this message to Unix mail file named FILE-NAME. |
| 1488 | |||
| 1489 | A prefix argument N says to output N consecutive messages | ||
| 1490 | starting with the current one. Deleted messages are skipped and don't count." | ||
| 1488 | (interactive) | 1491 | (interactive) |
| 1489 | (save-excursion | 1492 | (with-current-buffer rmail-buffer |
| 1490 | (set-buffer rmail-buffer) | 1493 | (if file-name |
| 1491 | (let ((rmail-delete-after-output nil)) | 1494 | (rmail-output file-name) |
| 1492 | (call-interactively 'rmail-output))) | 1495 | (call-interactively 'rmail-output)))) |
| 1493 | (if rmail-delete-after-output | ||
| 1494 | (rmail-summary-delete-forward nil))) | ||
| 1495 | 1496 | ||
| 1496 | (defun rmail-summary-construct-io-menu () | 1497 | (defun rmail-summary-construct-io-menu () |
| 1497 | (let ((files (rmail-find-all-files rmail-secondary-file-directory))) | 1498 | (let ((files (rmail-find-all-files rmail-secondary-file-directory))) |