From bb83211fc9dd09f744a9e1a6d25edfc2a2a5cc5c Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Sun, 7 Mar 2021 15:31:48 +0100 Subject: Fix variable names --- org-fc-review.el | 4 ++-- 1 file 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." -- cgit v1.2.3