diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | org-drill.el | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -16,6 +16,9 @@ test: install just-test all-test: all-robot-test test +build: + $(EMACS_ENV) $(CASK) build + robot-and-test: basic-robot-test just-test just-test: diff --git a/org-drill.el b/org-drill.el index 688bf42..5fa41be 100644 --- a/org-drill.el +++ b/org-drill.el @@ -1038,9 +1038,8 @@ in the matrix." (repeats (org-drill-entry-total-repeats :missing))) (cond (learn-str - (let ((learn-data (or (and learn-str - (read learn-str)) - (cl-copy-list initial-repetition-state)))) + (let ((learn-data (and learn-str + (read learn-str)))) (list (nth 0 learn-data) ; last interval (nth 1 learn-data) ; repetitions (org-drill-entry-failure-count) |
