summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/org-fc.el b/org-fc.el
index f5eb75d..c1a0307 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -918,15 +918,17 @@ Processes all holes in the card text."
(defun org-fc-type-cloze-setup (position)
"Prepare POSITION of a cloze card for review."
+ (outline-hide-subtree)
(let ((hole (string-to-number position))
(cloze-type (intern (org-entry-get (point) org-fc-type-cloze-type-property))))
- (org-show-subtree)
+ (org-show-entry)
(setq
org-fc-type-cloze--overlays
(org-fc-type-cloze-hide-holes hole cloze-type))))
(defun org-fc-type-cloze-flip ()
"Flip a cloze card."
+ (org-show-children)
(if-let ((overlays org-fc-type-cloze--overlays))
(progn
(if (plist-member overlays :separator)