summaryrefslogtreecommitdiff
path: root/lisp/mail/sendmail.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mail/sendmail.el')
-rw-r--r--lisp/mail/sendmail.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index e2dd2e11ef2..7df1c7380ce 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -370,7 +370,8 @@ the user from the mailer."
"From: " (user-login-name) "\n"
"Date: " (current-time-string) "\n")
(insert-buffer-substring curbuf beg end)
- (insert "\n\C-_"))
+ (insert "\n\C-_")
+ (rmail-set-message-counters))
(insert-buffer-substring curbuf beg end)))
(if max (narrow-to-region (point-min) max))))))
;; Else append to the file directly.