[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
elisp: how to detect if a file has changed on disk
From: |
Mirko |
Subject: |
elisp: how to detect if a file has changed on disk |
Date: |
Tue, 16 Dec 2008 06:03:19 -0800 (PST) |
User-agent: |
G2/1.0 |
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
- elisp: how to detect if a file has changed on disk,
Mirko <=