summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-09-07 19:35:01 +0200
committerLeon Rische <leon.rische@me.com>2020-09-07 19:35:01 +0200
commit284399adee2d127cdcb40ab364322768a97ab17c (patch)
tree7b56a2b7c1209b30bbf335ef8f69d045f4caf031 /org-fc.el
parent8253d1151791c1004dc90255e5d161ccab1af721 (diff)
Fix display of double cards with a back heading
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 7857ac4..2858a3c 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -647,7 +647,9 @@ Argument UPDATE-FN Function to update a card when it's contents have changed."
("back"
(outline-hide-subtree)
(if (org-fc-has-back-heading-p)
- (outline-hide-entry)
+ (org-fc-with-point-at-back-heading
+ (org-fc-show-latex)
+ (outline-show-entry))
(org-show-entry)
(setq org-fc-type-double--overlay (org-fc-hide-heading "[...]"))))
(_ (error "Invalid double position %s" position))))