# HG changeset patch # User Richard M. Stallman # Date 781589527 0 # Node ID 802381617d140398711df0514b37cdbfa24e4a44 # Parent 0bec3b6bac2f561cb7421c598d3a3b2d3a715a86 (rmail-delete-forward): Use rmail-select-summary. diff -r 0bec3b6bac2f -r 802381617d14 lisp/mail/rmail.el --- a/lisp/mail/rmail.el Fri Oct 07 23:42:52 1994 +0000 +++ b/lisp/mail/rmail.el Sat Oct 08 04:12:07 1994 +0000 @@ -1795,9 +1795,8 @@ (rmail-set-attribute "deleted" t) (let ((del-msg rmail-current-message)) (if (rmail-summary-exists) - (save-excursion - (set-buffer rmail-summary-buffer) - (rmail-summary-mark-deleted del-msg))) + (rmail-select-summary + (rmail-summary-mark-deleted del-msg))) (prog1 (rmail-next-undeleted-message (if backward -1 1)) (rmail-maybe-display-summary))))