(declare-function rmail-summary-enable "rmailsum" ())
+(declare-function rmail-summary-update-line "rmailsum" (n))
(defun rmail-cease-edit ()
"Finish editing message; switch back to Rmail proper."
;; Delete previous body. This must be after all insertions at the end,
;; so the marker for the beginning of the next message isn't messed up.
(delete-region end (point-max)))
- (rmail-set-attribute rmail-edited-attr-index t))
-;;;??? BROKEN perhaps.
-;;; (if (boundp 'rmail-summary-vector)
-;;; (aset rmail-summary-vector (1- rmail-current-message) nil))
+ (rmail-set-attribute rmail-edited-attr-index t)
+ (if (rmail-summary-exists)
+ (let ((msgnum rmail-current-message))
+ (with-current-buffer rmail-summary-buffer
+ (rmail-summary-update-line msgnum)))))
(rmail-show-message)
(rmail-toggle-header (if pruned 1 0))
;; Restore mime display state.