summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-07-02 12:15:47 +0200
committerLeon Rische <leon.rische@me.com>2020-07-02 12:15:47 +0200
commit656398361e70cc8461529781fbad889c5c10fd0a (patch)
tree7425e2c3716621a9b080b5f4883a847a5a3e88fb /org-fc.el
parente0758469251b6709ff4d2dfd77c24dbde866eecc (diff)
Reset buffer after review
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/org-fc.el b/org-fc.el
index 075f507..9d55126 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1880,7 +1880,8 @@ same ID as the current card in the session."
(org-fc-review-update-data path id position rating delta)
(org-fc-review-reset)
(save-buffer)
- (unless org-fc-reviewing-existing-buffer
+ (if org-fc-reviewing-existing-buffer
+ (org-fc-review-reset)
(kill-buffer))
(org-fc-review-next-card)))
(error