emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r115439: * autorevert.el (auto-revert-notify-add


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] trunk r115439: * autorevert.el (auto-revert-notify-add-watch): Do not handle symlinked files.
Date: Tue, 10 Dec 2013 05:49:49 +0200

> From: Stefan Monnier <address@hidden>
> Date: Mon, 09 Dec 2013 21:30:53 -0500
> Cc: address@hidden
> 
> > +  (when (or (string-match auto-revert-notify-exclude-dir-regexp
> > +                     (expand-file-name default-directory))
> > +       (not (file-symlink-p buffer-file-name)))
> 
> I think this patch is acceptable, but if/when we try to write a generic
> file-watcher Elisp API, it would be good to make this work (probably by
> adding a watcher on the symlink's target).

It's up to the user to say whether she wants to watch the symlink or
its target, I think.



reply via email to

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