Skip to content

Commit

Permalink
Use org-tree-slide-play-hook to hide blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
cnr committed Jun 7, 2021
1 parent b2376a8 commit 87abb63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/lang/org/contrib/present.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87abb63

Please sign in to comment.