# HG changeset patch # User Luc Teirlinck # Date 1089846254 0 # Node ID 27e781b700535182e277023768a13786526a9983 # Parent fb8b1f758f892e251210c2a8a1b55028c31548ce (tramp-handle-verify-visited-file-modtime): `visited-file-modtime' now returns a list of two integers, instead of a cons. diff -r fb8b1f758f89 -r 27e781b70053 lisp/net/tramp.el --- a/lisp/net/tramp.el Wed Jul 14 22:59:08 2004 +0000 +++ b/lisp/net/tramp.el Wed Jul 14 23:04:14 2004 +0000 @@ -2343,7 +2343,14 @@ ;; (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