Subject: bug#2022: 23.0.60; Rmail buffer marked modified after saving it

From: Glenn Morris <[email-masked]>
Date: Sun, 25 Jan 2009 20:53:53 -0500

Eli Zaretskii wrote:

> By setting the buffer's modified flag, like it's done everywhere else.

Actually, it seems rmail-mode-1 used to lie to you by doing:

(setq mode-line-modified "--")

Seems like a bad idea to me... Anyway,

(add-hook 'rmail-mode-hook (lambda () (setq mode-line-modified "--")))

and you're back to having the wool pulled over your eyes.