From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: Thorsten Jolitz <tjolitz@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to compare time of last file modification?
Date: Sun, 01 Jul 2012 12:13:44 +0200 [thread overview]
Message-ID: <m3vci7ss9z.fsf@stories.gnus.org> (raw)
In-Reply-To: <mailman.3790.1341102956.855.help-gnu-emacs@gnu.org> (Thorsten Jolitz's message of "Sun, 01 Jul 2012 02:38:27 +0200")
Thorsten Jolitz <tjolitz@googlemail.com> writes:
> If I want to compare the time of last modification of two files - how do
> I do that, using these two integers?
Use `time-less-p':
time-less-p is a compiled Lisp function in `time-date.el'.
(time-less-p T1 T2)
Return non-nil if time value T1 is earlier than time value T2.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2012-07-01 10:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3790.1341102956.855.help-gnu-emacs@gnu.org>
2012-07-01 1:16 ` How to compare time of last file modification? Pascal J. Bourguignon
2012-07-01 8:56 ` Thorsten Jolitz
2012-07-01 9:23 ` Michael Albinus
2012-07-01 10:13 ` Lars Magne Ingebrigtsen [this message]
2012-07-01 17:26 ` Thorsten Jolitz
[not found] ` <mailman.3833.1341163416.855.help-gnu-emacs@gnu.org>
2012-07-01 17:36 ` Pascal J. Bourguignon
2012-07-01 21:11 ` Lars Magne Ingebrigtsen
2012-07-01 19:48 ` Barry Margolin
2012-07-01 20:26 ` Thorsten Jolitz
2012-07-01 0:38 Thorsten Jolitz
2012-07-01 0:41 ` Thorsten Jolitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vci7ss9z.fsf@stories.gnus.org \
--to=lmi@gnus.org \
--cc=help-gnu-emacs@gnu.org \
--cc=tjolitz@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).