summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-09-09 00:15:05 +0200
committerLeon Rische <leon.rische@me.com>2020-09-09 00:15:05 +0200
commitb1e8506eb495fc560de56070debd462a3bc98f42 (patch)
tree09528f21c99755803f0c1adc13b4caa74e857e76
parent1d9d9e9d356b0c64ef8fc2710e5c63506e839049 (diff)
Add cl- prefix to remove-if
-rw-r--r--org-fc.el6
1 files changed, 4 insertions, 2 deletions
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))