Nicolas Goaziou <[email protected]> writes:
> WDYT?
Makes sense to me. I have one nitpick on the actual change:
> + ;; Shift starting date to today, or now if
> + ;; repeater is by hours.
> + (if (equal what "h")
> + (org-timestamp-change
> + (floor (/ (- (org-time-stamp-to-now ts t)) 60))
> + 'minute)
You could use floor's DIVISOR argument:
(floor (- (org-time-stamp-to-now ts t)) 60)
Many such spots in Emacs's tree have been adjusted by Paul Eggert, and
the ones touching Org files have been ported back.