diff options
author | John Wiegley <johnw@newartisans.com> | 2010-12-27 03:34:23 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-12-27 03:34:40 -0500 |
commit | 3922c2cbc187b76c2eb8601309e8123d16632e9a (patch) | |
tree | 8b12954d9773676dd53c511157ec8db234fa6222 | |
parent | 55d664e6d3484f43c9e5160ebfd30bb20e881b7f (diff) | |
download | org-mode-3922c2cbc187b76c2eb8601309e8123d16632e9a.tar.gz |
Fixed the interval for day scattering
It was [0,LIM), now it's [1,LIM]
-rw-r--r-- | lisp/org-agenda.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 1cdaaa0..f787240 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -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 |