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

returns a list of two integers, instead of a cons.
This commit is contained in:
Luc Teirlinck 2004-07-14 23:04:14 +00:00
parent ca02a7263d
commit 12cd6dfb85

View file

@ -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