From 7b76b3c8eb6f4f1a326fe6318c3e1fd0c07cf8fa Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Thu, 4 Apr 2024 19:19:50 +0200 Subject: org-fc-review: take 10 ordered cards: optimized memorization --- org-fc-review.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-fc-review.el b/org-fc-review.el index 0ad8de7..b4bd4a2 100644 --- a/org-fc-review.el +++ b/org-fc-review.el @@ -104,7 +104,7 @@ Valid contexts: (cards (org-fc-index-filter-due index))) (if org-fc-shuffle-positions (setq cards (org-fc-index-shuffled-positions cards)) - (setq cards (org-fc-index-positions cards))) + (setq cards (take 10 (reverse (org-fc-index-positions cards))))) (if (null cards) (message "No cards due right now") (progn -- cgit v1.2.3