projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3b298
)
(auto-revert-handler): Disable auto-reverting of remote files.
author
Luc Teirlinck
<teirllm@auburn.edu>
Thu, 27 May 2004 23:45:51 +0000
(23:45 +0000)
committer
Luc Teirlinck
<teirllm@auburn.edu>
Thu, 27 May 2004 23:45:51 +0000
(23:45 +0000)
lisp/autorevert.el
patch
|
blob
|
history
diff --git
a/lisp/autorevert.el
b/lisp/autorevert.el
index 58bb6d29705261fbba02169db8b4dc9801ea1421..1ba48a54236f58f71ed4050ebca5a1e46800ac56 100644
(file)
--- a/
lisp/autorevert.el
+++ b/
lisp/autorevert.el
@@
-311,6
+311,7
@@
This is an internal function used by Auto-Revert Mode."
(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))