From 96a07ae9316b0824f51921b80f2158ce32a2a156 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Tue, 27 Jan 2009 03:05:18 +0000 Subject: [PATCH] (rmail-summary-mark-deleted): Recache summary. --- lisp/mail/rmailsum.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 79bb8bc2ef3..cc25f3de98c 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -714,7 +714,10 @@ a negative argument means to delete and move forward." (if (looking-at "D") (progn (delete-char 1) (insert " "))) (delete-char 1) - (insert "D")))) + (insert "D")) + ;; Register a new summary line. + (with-current-buffer rmail-buffer + (aset rmail-summary-vector (1- n) (rmail-create-summary-line n))))) (beginning-of-line)) (defun rmail-summary-mark-undeleted (n) -- 2.39.5