summaryrefslogtreecommitdiff
path: root/org-fc-review.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-fc-review.el')
-rw-r--r--org-fc-review.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/org-fc-review.el b/org-fc-review.el
index 3937ef2..998cbb5 100644
--- a/org-fc-review.el
+++ b/org-fc-review.el
@@ -90,7 +90,7 @@ If RESUMING is non-nil, some parts of the buffer setup are skipped."
(id (plist-get card :id))
(type (plist-get card :type))
(position (plist-get card :position)))
- (setf (oref session current-item) card)
+ (setf (oref org-fc-review--session current-item) card)
(let ((buffer (find-buffer-visiting path)))
(with-current-buffer (find-file path)
(unless resuming
@@ -395,7 +395,7 @@ removed."
"Add ELEMENTS to review history."
(push
elements
- (slot-value org-fc-review--session 'history)))
+ (oref org-fc-review--session history)))
(defun org-fc-review-history-save ()
"Save all history entries in the current session."