summaryrefslogtreecommitdiff
path: root/org-fc-review.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-01-15 12:51:48 +0100
committerLeon Rische <leon.rische@me.com>2020-01-15 12:51:48 +0100
commitbc702165acbc906688b5ad7a94c69d9ac5197b2a (patch)
treec7105401f25e48aae2977f3d0c0f2a6358cd430a /org-fc-review.el
parent00aef827a9b57620561dad5acbce5bd32e59ed6f (diff)
Update readme
Diffstat (limited to 'org-fc-review.el')
-rw-r--r--org-fc-review.el7
1 files changed, 5 insertions, 2 deletions
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)