|
| From: | Stefan Monnier |
| Subject: | Re: master 4a1f69ebca 2/2: Use (TICKS . HZ) for current-time etc. |
| Date: | Wed, 27 Apr 2022 12:55:30 -0400 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> - (not (time-less-p (cl-subseq (nth 5 (file-attributes file)) 0 2)
> - (cl-subseq time 0 2)))))
> + (not (time-less-p (org-time-convert-to-integer
> + (nth 5 (file-attributes file)))
> + (org-time-convert-to-integer time)))))
Instead of rounding the times to whole seconds, wouldn't it make more
sense to check that the difference is larger than 1s?
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |