help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Comparing last modification time without dired?


From: Michael Albinus
Subject: Re: Comparing last modification time without dired?
Date: Fri, 07 Nov 2014 09:08:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Hi,

Hi Loris,

> If I have two buffers and want to see which of the corresponding files
> is the more recent, is there a faster way of doing it than running dired
> for each of the corresponding directories?

(file-newer-than-file-p (buffer-file-name buf1) (buffer-file-name buf2))

> Cheers,
>
> Loris

Best regards, Michael.



reply via email to

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