aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreeeickythump <devnull@localhost>2013-05-21 11:47:00 +1200
committereeeickythump <devnull@localhost>2013-05-21 11:47:00 +1200
commitd0405e93112af6074ba59ea13c0b0f10cf7ec368 (patch)
tree49049c7c4ef97d373f48ce67fc5b7e2cca851b14
parenteb95d9415a75ba5aacab8837902aa46bc8c2c66e (diff)
downloadorg-drill-d0405e93112af6074ba59ea13c0b0f10cf7ec368.tar.gz
org-drill-d0405e93112af6074ba59ea13c0b0f10cf7ec368.zip
Fixed bug with scheduling failed cards, caused by changes to 'org-schedule' in
org mode version 8.
-rw-r--r--org-drill.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-drill.el b/org-drill.el
index b3cdc45..2d9dd80 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