summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2018-10-01 14:34:35 +0200
committerMichael Albinus <michael.albinus@gmx.de>2018-10-01 14:34:35 +0200
commitc45789a595cc09457d54c4c878e8aae84f79d59d (patch)
tree2c713d6eb33ff83dc726091481861d2358b57d21 /lisp
parent886a1f26413b3eec427155163a2f3ceb163efce8 (diff)
downloademacs-c45789a595cc09457d54c4c878e8aae84f79d59d.tar.gz
Use `float-time' in tramp-sh.el where needed
* lisp/net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime): Use `float-time'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp-sh.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index b2be43395f8..956fe2ddb73 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