diff options
| author | Phillip Lord <phillip.lord@russet.org.uk> | 2019-06-23 21:30:28 +0100 |
|---|---|---|
| committer | Phillip Lord <phillip.lord@russet.org.uk> | 2019-06-23 21:30:28 +0100 |
| commit | 8644cfd761e12cd04b8de76f19f5fa1ba7847487 (patch) | |
| tree | 6b3a0450618740e748774977a0b1ad1e04c6260c | |
| parent | 90d777bd55b6a8213bfaf9c992568de55992255c (diff) | |
| download | org-drill-8644cfd761e12cd04b8de76f19f5fa1ba7847487.tar.gz org-drill-8644cfd761e12cd04b8de76f19f5fa1ba7847487.zip | |
Fix more byte compile errors
| -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) |
