[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c45789a 2/2: Use `float-time' in tramp-sh.el where
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master c45789a 2/2: Use `float-time' in tramp-sh.el where needed |
Date: |
Mon, 1 Oct 2018 08:34:44 -0400 (EDT) |
branch: master
commit c45789a595cc09457d54c4c878e8aae84f79d59d
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Use `float-time' in tramp-sh.el where needed
* lisp/net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
Use `float-time'.
---
lisp/net/tramp-sh.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index b2be433..956fe2d 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -1449,7 +1449,7 @@ of."
;; recorded last modification time, or there is no established
;; connection.
(if (or (not f)
- (zerop (visited-file-modtime))
+ (zerop (float-time (visited-file-modtime)))
(not (file-remote-p f nil 'connected)))
t
(with-parsed-tramp-file-name f nil