summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-04-04 19:19:50 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-04-07 13:41:15 +0200
commit7b76b3c8eb6f4f1a326fe6318c3e1fd0c07cf8fa (patch)
tree575eeecd0501a58398978212dd0156865e711ab9
parent27c6e59746aecfe0f2be068baf407b7e70b40340 (diff)
org-fc-review: take 10 ordered cards: optimized memorization
-rw-r--r--org-fc-review.el2
1 files changed, 1 insertions, 1 deletions
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