]> git.eshelyaron.com Git - emacs.git/commit
Make Rmail delete and undelete commands handle repeat count.
authorRichard M. Stallman <rms@gnu.org>
Fri, 21 Mar 2014 23:09:02 +0000 (19:09 -0400)
committerRichard M. Stallman <rms@gnu.org>
Fri, 21 Mar 2014 23:09:02 +0000 (19:09 -0400)
commit59271b3e862eb611ae670c9f4d7db00e12f7fcbf
tree91098d3548e742fa7a7351b32a340aae15a9163c
parent0d8ac93e1cb206efbc76c213ac8d45d69d150de2
Make Rmail delete and undelete commands handle repeat count.

* lisp/mail/rmail.el (rmail-delete-message): Update summary.
(rmail-undelete-previous-message): Handle repeat count arg.
(rmail-delete-backward, rmail-delete-forward): Likewise.

* lisp/mail/rmailsum.el (rmail-summary-delete-forward):
Optimize case of reaching end and handling count.
(rmail-summary-mark-deleted): Optimize when N is current msg.
Don't create new summary line.
(rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
(rmail-summary-undelete-many): Rewrite for speed.
(rmail-summary-msg-number): New function.
lisp/ChangeLog
lisp/mail/rmail.el
lisp/mail/rmailsum.el