diff options
| author | Luc Teirlinck | 2004-07-14 23:04:14 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-07-14 23:04:14 +0000 |
| commit | 12cd6dfb8574eae2e92d73704b3101eb31f8468d (patch) | |
| tree | fc80303d44216fa738dbef612e97665627ad7abb | |
| parent | ca02a7263d2e5f26ef975661638d0044b24fa9a3 (diff) | |
| download | emacs-12cd6dfb8574eae2e92d73704b3101eb31f8468d.tar.gz emacs-12cd6dfb8574eae2e92d73704b3101eb31f8468d.zip | |
(tramp-handle-verify-visited-file-modtime): `visited-file-modtime' now
returns a list of two integers, instead of a cons.
| -rw-r--r-- | lisp/net/tramp.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 0414859c7eb..d9a8d14309a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -2343,7 +2343,14 @@ If it doesn't exist, generate a new one." | |||
| 2343 | ;; (HIGH . LOW)? | 2343 | ;; (HIGH . LOW)? |
| 2344 | (let ((mt (visited-file-modtime))) | 2344 | (let ((mt (visited-file-modtime))) |
| 2345 | (< (abs (tramp-time-diff | 2345 | (< (abs (tramp-time-diff |
| 2346 | modtime (list (car mt) (cdr mt)))) 2))) | 2346 | modtime |
| 2347 | ;; For compatibility, deal with both the old | ||
| 2348 | ;; (HIGH . LOW) and the new (HIGH LOW) | ||
| 2349 | ;; return values of `visited-file-modtime'. | ||
| 2350 | (if (atom (cdr mt)) | ||
| 2351 | (list (car mt) (cdr mt)) | ||
| 2352 | mt))) | ||
| 2353 | 2))) | ||
| 2347 | (attr | 2354 | (attr |
| 2348 | (save-excursion | 2355 | (save-excursion |
| 2349 | (tramp-send-command | 2356 | (tramp-send-command |