Commit c206f5b0 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.

parent f9ad64f3
2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
* mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
* net/browse-url.el (browse-url-firefox-program): Add icecat to
......
......@@ -2674,7 +2674,7 @@ The current mail message becomes the message displayed."
(let ((modiff (buffer-modified-p)))
(rmail-set-attribute rmail-unseen-attr-index nil)
(unless modiff
(set-buffer-modified-p nil)))
(restore-buffer-modified-p modiff)))
;; bracket the message in the mail
;; buffer and determine the coding system the transfer encoding.
(rmail-swap-buffers-maybe)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment