From bc702165acbc906688b5ad7a94c69d9ac5197b2a Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Wed, 15 Jan 2020 12:51:48 +0100 Subject: Update readme --- org-fc-review.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'org-fc-review.el') diff --git a/org-fc-review.el b/org-fc-review.el index a11993a..3831d37 100644 --- a/org-fc-review.el +++ b/org-fc-review.el @@ -1,3 +1,4 @@ +(require 'org-fc-sm2) ;;; Configuration @@ -89,7 +90,9 @@ (let ((buffer (find-buffer-visiting path))) (with-current-buffer (find-file path) ;; If buffer was already open, don't kill it after rating the card - (if buffer (setq-local org-fc-reviewing-existing-buffer t)) + (if buffer + (setq-local org-fc-reviewing-existing-buffer t) + (setq-local org-fc-reviewing-existing-buffer nil)) (goto-char (point-min)) (org-fc-show-all) (org-fc-id-goto id path) @@ -267,7 +270,7 @@ END is the start of the line with :END: on it." (org-table-align)))) (defun org-fc-review-data-default (position) - (list position org-fc-sm2-initial-ease 0 0 + (list position org-fc-sm2-ease-initial 0 0 (org-fc-timestamp-now))) (defun org-fc-review-data-update (positions) -- cgit v1.2.3