From c45789a595cc09457d54c4c878e8aae84f79d59d Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 1 Oct 2018 14:34:35 +0200 Subject: [PATCH] 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 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 -- 2.39.5