From 55b1f246458c4df55d88fc890aa0d3a4cecd4617 Mon Sep 17 00:00:00 2001 From: c1-g Date: Fri, 31 Dec 2021 08:53:59 +0700 Subject: org-fc-review: Ask to resume when there's already a session. --- org-fc-review.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-fc-review.el b/org-fc-review.el index f41baeb..2ca2627 100644 --- a/org-fc-review.el +++ b/org-fc-review.el @@ -91,7 +91,8 @@ Valid contexts: - a list of paths" (interactive (list (org-fc-select-context))) (if org-fc-review--session - (message "Flashcards are already being reviewed") + (when (yes-or-no-p "Flashcards are already being reviewed. Resume? ") + (org-fc-review-resume)) (let* ((index (org-fc-index context)) (cards (org-fc-index-filter-due index))) (if org-fc-shuffle-positions -- cgit v1.2.3