aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Großjohann2004-07-17 21:33:32 +0000
committerKai Großjohann2004-07-17 21:33:32 +0000
commitcdfa3eccb179fe579a5e38949d0a2ad3d2757524 (patch)
treea98dd4da36f6bc5ece03e33bc03ff1566257939f
parent2d677766573bcf9a4fd97c195d595383d99c7d9c (diff)
downloademacs-cdfa3eccb179fe579a5e38949d0a2ad3d2757524.tar.gz
emacs-cdfa3eccb179fe579a5e38949d0a2ad3d2757524.zip
(tramp-handle-verify-visited-file-modtime): New
docstring. From Luc Teirlinck.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp.el7
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 1877f9c0281..876646163e3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-07-17 Kai Grossjohann <kai.grossjohann@gmx.net>
2
3 * net/tramp.el (tramp-handle-verify-visited-file-modtime): New
4 docstring. From Luc Teirlinck.
5
12004-07-17 Luc Teirlinck <teirllm@auburn.edu> 62004-07-17 Luc Teirlinck <teirllm@auburn.edu>
2 7
3 * autorevert.el: Describe `Auto Revert Tail Mode' in `Commentary' 8 * autorevert.el: Describe `Auto Revert Tail Mode' in `Commentary'
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 7f04a948811..02b076483c1 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2331,7 +2331,12 @@ If it doesn't exist, generate a new one."
2331;; This function makes the same assumption as 2331;; This function makes the same assumption as
2332;; `tramp-handle-set-visited-file-modtime'. 2332;; `tramp-handle-set-visited-file-modtime'.
2333(defun tramp-handle-verify-visited-file-modtime (buf) 2333(defun tramp-handle-verify-visited-file-modtime (buf)
2334 "Like `verify-visited-file-modtime' for tramp files." 2334 "Like `verify-visited-file-modtime' for tramp files.
2335At the time `verify-visited-file-modtime' calls this function, we
2336already know that the buffer is visiting a file and that
2337`visited-file-modtime' does not return 0. Do not call this
2338function directly, unless those two cases are already taken care
2339of."
2335 (with-current-buffer buf 2340 (with-current-buffer buf
2336 (let ((f (buffer-file-name))) 2341 (let ((f (buffer-file-name)))
2337 (with-parsed-tramp-file-name f nil 2342 (with-parsed-tramp-file-name f nil