From b1e8506eb495fc560de56070debd462a3bc98f42 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Wed, 9 Sep 2020 00:15:05 +0200 Subject: Add cl- prefix to remove-if --- org-fc.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'org-fc.el') diff --git a/org-fc.el b/org-fc.el index d42e42d..0925d79 100644 --- a/org-fc.el +++ b/org-fc.el @@ -1895,8 +1895,10 @@ same ID as the current card in the session." ;; Remove all other positions from review session (with-slots (current-item cards) org-fc--session (let ((id (plist-get current-item :id))) - (setf cards (remove-if (lambda (card) - (string= id (plist-get card :id))) cards)))) + (setf cards + (cl-remove-if + (lambda (card) + (string= id (plist-get card :id))) cards)))) (org-fc-review-reset) (org-fc-review-next-card)) -- cgit v1.2.3