branch: elpa/org-drill
commit d0405e93112af6074ba59ea13c0b0f10cf7ec368
Author: eeeickythump <devnull@localhost>
Commit: eeeickythump <devnull@localhost>
Fixed bug with scheduling failed cards, caused by changes to 'org-schedule'
in
org mode version 8.
---
org-drill.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org-drill.el b/org-drill.el
index b3cdc45ecc..2d9dd808e9 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -26,7 +26,7 @@
(eval-when-compile (require 'cl))
(eval-when-compile (require 'hi-lock))
-(require 'cl)
+(require 'cl-lib)
(require 'hi-lock)
(require 'org)
(require 'org-id)
@@ -1208,7 +1208,7 @@ item will be scheduled exactly this many days into the
future."
(cond
((= 0 days-ahead)
- (org-schedule t))
+ (org-schedule '(4)))
((minusp days-ahead)
(org-schedule nil (current-time)))
(t