Mercurial > emacs
changeset 55779:5a212b0ada97
(auto-revert-handler): Disable auto-reverting of remote files.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 27 May 2004 23:45:51 +0000 |
parents | f4d8fa42ea58 |
children | 54a65c8588e4 |
files | lisp/autorevert.el |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/autorevert.el Thu May 27 20:23:31 2004 +0000 +++ b/lisp/autorevert.el Thu May 27 23:45:51 2004 +0000 @@ -311,6 +311,7 @@ (unless (buffer-modified-p) (let ((buffer (current-buffer)) revert eob eoblist) (or (and buffer-file-name + (not (file-remote-p buffer-file-name)) (file-readable-p buffer-file-name) (not (verify-visited-file-modtime buffer)) (setq revert t))