bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: bug#2295: Viewing images with image-mode changes directory time
Date: Wed, 11 Feb 2009 21:40:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]