mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(rmail-summary-expunge)
(rmail-summary-expunge-and-save): Ask for confirmation with rmail-expunge-confirmed.
This commit is contained in:
parent
7a53d8c859
commit
d2bf5afe6d
1 changed files with 4 additions and 2 deletions
|
|
@ -1210,7 +1210,8 @@ move to the previous message."
|
|||
(interactive)
|
||||
(save-excursion
|
||||
(set-buffer rmail-buffer)
|
||||
(rmail-only-expunge))
|
||||
(when (rmail-confirm-expunge)
|
||||
(rmail-only-expunge)))
|
||||
(rmail-update-summary))
|
||||
|
||||
(defun rmail-summary-expunge-and-save ()
|
||||
|
|
@ -1218,7 +1219,8 @@ move to the previous message."
|
|||
(interactive)
|
||||
(save-excursion
|
||||
(set-buffer rmail-buffer)
|
||||
(rmail-only-expunge))
|
||||
(when (rmail-confirm-expunge)
|
||||
(rmail-only-expunge)))
|
||||
(rmail-update-summary)
|
||||
(save-excursion
|
||||
(set-buffer rmail-buffer)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue