Merge pull request #5152 from cnr/org-tree-slide-hide-blocks

Use org-tree-slide-play-hook to hide blocks
This commit is contained in:
Henrik Lissner 2021-06-07 21:16:29 -04:00 committed by GitHub
commit 2731685095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,9 +36,8 @@ headings as titles, and you have more freedom to place them wherever you like.")
org-tree-slide-heading-emphasis t)
(add-hook 'org-tree-slide-after-narrow-hook #'org-display-inline-images)
(add-hook! 'org-tree-slide-mode-hook
#'+org-present-hide-blocks-h
#'+org-present-prettify-slide-h)
(add-hook 'org-tree-slide-mode-hook #'+org-present-prettify-slide-h)
(add-hook 'org-tree-slide-play-hook #'+org-present-hide-blocks-h)
(when (featurep! :editor evil)
(map! :map org-tree-slide-mode-map