diff options
| author | Kenichi Handa | 2000-04-25 23:49:40 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-04-25 23:49:40 +0000 |
| commit | f03392a12d54e52f8f2332ec146de91992360144 (patch) | |
| tree | a188b94d46a0d112b4b1ea4a566007f412c86298 | |
| parent | fad95037768a949a677396a6b8340dc1d7e0875d (diff) | |
| download | emacs-f03392a12d54e52f8f2332ec146de91992360144.tar.gz emacs-f03392a12d54e52f8f2332ec146de91992360144.zip | |
(rmail-expunge): When there's no deleted messages,
do nothing.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 676dc6e21c3..b4041dde8f6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | 2000-04-26 Kenichi Handa <handa@etl.go.jp> | 1 | 2000-04-26 Kenichi Handa <handa@etl.go.jp> |
| 2 | 2 | ||
| 3 | * mail/rmail.el (rmail-expunge): When there's no deleted messages, | 3 | * mail/rmail.el (rmail-expunge): When there are no deleted |
| 4 | do nothing. | 4 | messages, do nothing. |
| 5 | 5 | ||
| 6 | 2000-04-26 Dave Love <fx@gnu.org> | 6 | 2000-04-26 Dave Love <fx@gnu.org> |
| 7 | 7 | ||
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 1aab4a4b4b2..cb18a9053c4 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -2683,9 +2683,11 @@ Deleted messages stay in the file until the \\[rmail-expunge] command is given." | |||
| 2683 | (defun rmail-expunge () | 2683 | (defun rmail-expunge () |
| 2684 | "Erase deleted messages from Rmail file and summary buffer." | 2684 | "Erase deleted messages from Rmail file and summary buffer." |
| 2685 | (interactive) | 2685 | (interactive) |
| 2686 | (when (or (null rmail-confirm-expunge) | 2686 | (when (and (stringp rmail-deleted-vector) |
| 2687 | (funcall rmail-confirm-expunge | 2687 | (string-match "D" rmail-deleted-vector) |
| 2688 | "Erase deleted messages from Rmail file? ")) | 2688 | (or (null rmail-confirm-expunge) |
| 2689 | (funcall rmail-confirm-expunge | ||
| 2690 | "Erase deleted messages from Rmail file? "))) | ||
| 2689 | (rmail-only-expunge) | 2691 | (rmail-only-expunge) |
| 2690 | (if (rmail-summary-exists) | 2692 | (if (rmail-summary-exists) |
| 2691 | (rmail-select-summary | 2693 | (rmail-select-summary |