diff options
author | Leon Rische <leon.rische@me.com> | 2020-09-07 12:15:33 +0200 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-09-07 12:15:33 +0200 |
commit | 417893d4f695aba963f1e918efdf07df933ba9b8 (patch) | |
tree | dd7d385d63ca9f14e8521c7e54cf29d1af7e0222 | |
parent | ca9c4272b73dfaaa3863124e96a8d761568d72d1 (diff) |
Only show the entry of cloze cards
-rw-r--r-- | org-fc.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |