branch: elpa/org-drill
commit 8644cfd761e12cd04b8de76f19f5fa1ba7847487
Author: Phillip Lord <[email protected]>
Commit: Phillip Lord <[email protected]>
Fix more byte compile errors
---
Makefile | 3 +++
org-drill.el | 5 ++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 6dfd2efe7b..9d0afbc4bd 100644
--- a/Makefile
+++ b/Makefile
@@ -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 688bf4253b..5fa41befb8 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)