Skip to content

Commit

Permalink
Merge pull request doomemacs#5152 from cnr/org-tree-slide-hide-blocks
Browse files Browse the repository at this point in the history
Use org-tree-slide-play-hook to hide blocks
  • Loading branch information
hlissner committed Jun 8, 2021
2 parents c70478e + 87abb63 commit 2731685
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 2731685

Please sign in to comment.