From 8644cfd761e12cd04b8de76f19f5fa1ba7847487 Mon Sep 17 00:00:00 2001 From: Phillip Lord Date: Sun, 23 Jun 2019 21:30:28 +0100 Subject: 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 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) -- cgit v1.2.3