Skip Montanaro <[EMAIL PROTECTED]> writes:

>     Michael> According to the Changelog, Kai has implemented it end of
>     Michael> 2001. And it detects file changes for methods who support
>     Michael> this. It doesn't detect it for foreign methods like ftp and
>     Michael> smb, AFAIR.
>
> Can this be disabled?  I bump into it all the time.  It's quite annoying
> over slowish links, especially if the path has lots of components.

You can try the following code snippet (untested):

(defadvice set-visited-file-modtime
  (around tramp-advice-set-visited-file-modtime activate)
  (unless (file-remote-p (ad-get-arg 0)) ad-do-it))

(defadvice verify-visited-file-modtime
  (around tramp-advice-verify-visited-file-modtime activate)
  (unless (file-remote-p (ad-get-arg 0)) ad-do-it t))

Best regards, Michael.


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://lists.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to