|
From: | Lennart Borgman (gmail) |
Subject: | Re: how to check and inform if visited file has been deleted |
Date: | Fri, 18 Jan 2008 20:24:57 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
bdimych wrote:
Hi All. I looked for and have not found a standard way to configure emacs so that when opened file has been deleted externally, the message box would be displayed. I have written some workaround with separate timer, it works but not well tested and seems too complex. Is there simpler standard way?http://www.nabble.com/file/p14950889/deletedfile.el deletedfile.el
Maybe you want to put your function on kill-buffer-hook instead of using a timer? That could perhaps simplify the function too.
[Prev in Thread] | Current Thread | [Next in Thread] |