Subject: bug#2295: Viewing images with image-mode changes directory time

From: Stefan Monnier <[email-masked]>
Date: Wed, 11 Feb 2009 21:40:54 -0500

> As a solution I propose to let-bind `buffer-file-truename' to nil
> around the call to `add-text-properties' to prevent directory time
> modification:

That sounds OK.  We should provide at least a macro for that.
BTW, while you're there, change set-buffer-modified-p to
restore-buffer-modified-p.

        Stefan