summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Rische <leon.rische@me.com>2020-09-19 20:06:51 +0200
committerLeon Rische <leon.rische@me.com>2020-09-19 20:06:51 +0200
commit4de07aee35939473ca63593686f2051b2a03b964 (patch)
tree000919055ca46bc3c1d1748a1ab49ff086f9a9c6
parentc2f6949ad8e59bd4eecd9f75b65628e7d5759dc9 (diff)
Use narrowing function
-rw-r--r--org-fc.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/org-fc.el b/org-fc.el
index 2d5e5ca..fe0de13 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1685,7 +1685,7 @@ If RESUMING is non-nil, some parts of the buffer setup are skipped."
(org-fc-indent)
;; Make sure the headline the card is in is expanded
(org-reveal)
- (org-fc-narrow-tree)
+ (org-fc-narrow)
(org-fc-hide-keyword-times)
(org-fc-hide-drawers)
(org-fc-show-latex)
@@ -1848,7 +1848,8 @@ rating the card."
(org-fc-review-flip-mode -1)
(org-fc-review-edit-mode -1)
(org-fc-reset-header-line)
- (org-fc-show-all))
+ (org-fc-show-all)
+ (widen))
;;;###autoload
(defun org-fc-review-quit ()