diff options
| author | Michael Albinus <michael.albinus@gmx.de> | 2018-10-01 14:34:35 +0200 |
|---|---|---|
| committer | Michael Albinus <michael.albinus@gmx.de> | 2018-10-01 14:34:35 +0200 |
| commit | c45789a595cc09457d54c4c878e8aae84f79d59d (patch) | |
| tree | 2c713d6eb33ff83dc726091481861d2358b57d21 /lisp | |
| parent | 886a1f26413b3eec427155163a2f3ceb163efce8 (diff) | |
| download | emacs-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.el | 2 |
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 |
