* Compare file modtimes in elisp
@ 2007-04-06 14:23 Denis Bueno
2007-04-06 17:36 ` Eric Hanchrow
0 siblings, 1 reply; 2+ messages in thread
From: Denis Bueno @ 2007-04-06 14:23 UTC (permalink / raw)
To: help-gnu-emacs
All-
Is there a simple way in elisp to compare two values of
(visited-file-modtime) for a buffer? I'm looking to write something
like:
(cond ((modtime-greater-than current-modtime last-modtime) ;; do something
))
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compare file modtimes in elisp
2007-04-06 14:23 Compare file modtimes in elisp Denis Bueno
@ 2007-04-06 17:36 ` Eric Hanchrow
0 siblings, 0 replies; 2+ messages in thread
From: Eric Hanchrow @ 2007-04-06 17:36 UTC (permalink / raw)
To: help-gnu-emacs
>>>>> "Denis" == Denis Bueno <dbueno@gmail.com> writes:
Denis> All- Is there a simple way in elisp to compare two values
Denis> of (visited-file-modtime) for a buffer?
It's just a list of two numbers, so first compare the cars; if they're
different, you're done; if they're the same, then compare the cadrs.
--
I hope to get back to work on Arc soon.
-- Paul Graham, quoted in "ACM Crossroads", no date given
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-04-06 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-06 14:23 Compare file modtimes in elisp Denis Bueno
2007-04-06 17:36 ` Eric Hanchrow
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.