From 87abb63dd2fc0c1b39a9f2ca1068ace0d0e16055 Mon Sep 17 00:00:00 2001 From: Connor James Date: Mon, 7 Jun 2021 09:56:37 -0700 Subject: [PATCH] Use org-tree-slide-play-hook to hide blocks --- modules/lang/org/contrib/present.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/lang/org/contrib/present.el b/modules/lang/org/contrib/present.el index f33f5f7c14f..fdf494828ba 100644 --- a/modules/lang/org/contrib/present.el +++ b/modules/lang/org/contrib/present.el @@ -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