aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Lord <phillip.lord@russet.org.uk>2019-06-23 21:30:28 +0100
committerPhillip Lord <phillip.lord@russet.org.uk>2019-06-23 21:30:28 +0100
commit8644cfd761e12cd04b8de76f19f5fa1ba7847487 (patch)
tree6b3a0450618740e748774977a0b1ad1e04c6260c
parent90d777bd55b6a8213bfaf9c992568de55992255c (diff)
downloadorg-drill-8644cfd761e12cd04b8de76f19f5fa1ba7847487.tar.gz
org-drill-8644cfd761e12cd04b8de76f19f5fa1ba7847487.zip
Fix more byte compile errors
-rw-r--r--Makefile3
-rw-r--r--org-drill.el5
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6dfd2ef..9d0afbc 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 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)