mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-22 14:10:42 +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: "
|
(format "Scatter tasks across how many %sdays: "
|
||||||
(if arg "week" "")) 7)))
|
(if arg "week" "")) 7)))
|
||||||
(setq cmd
|
(setq cmd
|
||||||
`(let ((distance (random ,(1+ days))))
|
`(let ((distance (1+ (random ,days))))
|
||||||
(if arg
|
(if arg
|
||||||
(let ((dist distance)
|
(let ((dist distance)
|
||||||
(day-of-week
|
(day-of-week
|
||||||
|
|
Loading…
Reference in a new issue