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

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

Re: elisp: how to detect if a file has changed on disk


From: Peter Milliken
Subject: Re: elisp: how to detect if a file has changed on disk
Date: Wed, 17 Dec 2008 09:51:07 +1100

See section 27.6 of the Elisp Manual (comparison of modification time).

See also 26.3 (Reverting) for reverting mechanisms.

Pete

On Wed, Dec 17, 2008 at 1:03 AM, Mirko <mvukovic@nycap.rr.com> wrote:
Hello,

I use emacs on my desktop and laptop, and unison to synchronize
modified files between the machines.

But that means that after synchronization, some of the files that a
buffer is visiting will change, and I will have to revert the buffer.
I would like to automatically revert all such buffers.  What function
can I use to test whether a the file that a buffer is visiting has
changed?

Thanks,

Mirko


reply via email to

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