emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-drill d0405e9311 060/251: Fixed bug with scheduling fa


From: ELPA Syncer
Subject: [nongnu] elpa/org-drill d0405e9311 060/251: Fixed bug with scheduling failed cards, caused by changes to 'org-schedule' in
Date: Mon, 17 Jan 2022 18:59:01 -0500 (EST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]