summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2021-03-07 15:31:48 +0100
committerLeon Rische <leon.rische@me.com>2021-03-07 15:31:48 +0100
commitbb83211fc9dd09f744a9e1a6d25edfc2a2a5cc5c (patch)
treed6a58088154d178bbc107060e59d0f85dff1f6cf
parentb345aa1f7edfe1b6f6315dbd41f23a84d72bb4aa (diff)
Fix variable names
-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."