[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time values

From: Alex Schroeder
Subject: Re: time values
Date: Sun, 11 Jul 2004 16:35:28 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Kai Grossjohann <address@hidden> writes:

> It would be great if there was a way for Tramp to find out whether
> the new-style or the old-style value should be returned.  Then a
> single code base could be used to support Emacs 21.3 as well as 21.4.

Maybe you can use (and (not (equal (visited-file-modtime) 0))
                            (consp (cdr (visited-file-modtime)))) ?

It returns nil when (visited-file-modtime) is 0 or a list of at least
two elements.

.O.  http://www.emacswiki.org/alex/
..O  Schroeder's fourth law:
OOO  None of your friends and coworkers share your taste in music.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]