Commit 12cd6dfb authored by Luc Teirlinck's avatar Luc Teirlinck
Browse files

(tramp-handle-verify-visited-file-modtime): `visited-file-modtime' now

returns a list of two integers, instead of a cons.
parent ca02a726
......@@ -2343,7 +2343,14 @@ If it doesn't exist, generate a new one."
;; (HIGH . LOW)?
(let ((mt (visited-file-modtime)))
(< (abs (tramp-time-diff
modtime (list (car mt) (cdr mt)))) 2)))
modtime
;; For compatibility, deal with both the old
;; (HIGH . LOW) and the new (HIGH LOW)
;; return values of `visited-file-modtime'.
(if (atom (cdr mt))
(list (car mt) (cdr mt))
mt)))
2)))
(attr
(save-excursion
(tramp-send-command
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment