mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-30 08:08:26 +00:00
Fixed the interval for day scattering
It was [0,LIM), now it's [1,LIM]
This commit is contained in:
parent
55d664e6d3
commit
3922c2cbc1
@ -7911,7 +7911,7 @@ The prefix arg is passed through to the command if possible."
|
||||
(format "Scatter tasks across how many %sdays: "
|
||||
(if arg "week" "")) 7)))
|
||||
(setq cmd
|
||||
`(let ((distance (random ,(1+ days))))
|
||||
`(let ((distance (1+ (random ,days))))
|
||||
(if arg
|
||||
(let ((dist distance)
|
||||
(day-of-week
|
||||
|
Loading…
Reference in New Issue
Block a user