]> git.eshelyaron.com Git - emacs.git/commitdiff
Use `float-time' in tramp-sh.el where needed
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 1 Oct 2018 12:34:35 +0000 (14:34 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 1 Oct 2018 12:34:35 +0000 (14:34 +0200)
* lisp/net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
Use `float-time'.

lisp/net/tramp-sh.el

index b2be43395f84748e3729b12805d46e2282c1d28c..956fe2ddb733336eb2618dd43acbd5e5c5f8b27f 100644 (file)
@@ -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