summaryrefslogtreecommitdiff
path: root/org-fc.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-fc.el')
-rw-r--r--org-fc.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/org-fc.el b/org-fc.el
index 726009d..8dae989 100644
--- a/org-fc.el
+++ b/org-fc.el
@@ -1027,8 +1027,9 @@ FACE can be used to set the text face of the overlay."
(if (re-search-forward ":END:" nil t)
(setq end (point))
(error "No :END: found for drawer"))
- (unless (member name org-fc-drawer-whitelist)
- (org-fc-hide-region start end))))))
+ (if (member name org-fc-drawer-whitelist)
+ (org-flag-drawer nil nil start end)
+ (org-fc-hide-region start end))))))
;;;; Hiding Headings / Section Contents