diff options
author | natask 2 <39103342+natask@users.noreply.github.com> | 2020-06-26 04:13:41 -0700 |
---|---|---|
committer | natask 2 <39103342+natask@users.noreply.github.com> | 2020-06-26 04:13:41 -0700 |
commit | 90554a8d207059a91605e0bfcba97c1f902249b3 (patch) | |
tree | ac3ee918c98bd04505e8ae3d7977de8d026a3e00 | |
parent | 6d6d2c9e27ad8493255280b817b671b022f100ef (diff) |
Added automated unfolding for whitelisted drawers.
-rw-r--r-- | org-fc.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |