diff options
| author | Paul Sexton <eeeickythump@gmail.com> | 2015-01-14 13:32:46 +1300 |
|---|---|---|
| committer | Paul Sexton <eeeickythump@gmail.com> | 2015-01-14 13:32:46 +1300 |
| commit | 7301c9ea7122f94fdc5236d59a2a457dde964d95 (patch) | |
| tree | cefde7ad160891b8bd687cab4851fc1f65c939ed /org-drill.el | |
| parent | c67928667ee9a0b7613ec3052f30b25b9f4ed4c5 (diff) | |
| download | org-drill-2.4.4.tar.gz org-drill-2.4.4.zip | |
Fixed calculation of 'org-drill-entry-days-since-creation' for cases where 'org-drill-entry-days-overdue' returns NIL.2.4.4
Diffstat (limited to 'org-drill.el')
| -rwxr-xr-x | org-drill.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org-drill.el b/org-drill.el index 93c37e3..b2b47ee 100755 --- a/org-drill.el +++ b/org-drill.el @@ -2,7 +2,7 @@ ;;; org-drill.el - Self-testing using spaced repetition ;;; ;;; Author: Paul Sexton <eeeickythump@gmail.com> -;;; Version: 2.4.3 +;;; Version: 2.4.4 ;;; Repository at http://bitbucket.org/eeeickythump/org-drill/ ;;; ;;; @@ -2439,7 +2439,7 @@ that many days)." (timestamp (- (org-time-stamp-to-now timestamp))) (use-last-interval-p - (+ (org-drill-entry-days-overdue) + (+ (or (org-drill-entry-days-overdue) 0) (read (or (org-entry-get (point) "DRILL_LAST_INTERVAL") "0")))) (t nil)))) |
