mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(org): #+ constructs hidden forever
Leaving org-tree-slide-mode did not unhide #+ constructs. Now +org-present-hide-blocks-h is triggered when leaving the mode as well, fixing the behaviour.
This commit is contained in:
committed by
Henrik Lissner
parent
6bbf837c9f
commit
065e005db9
@ -38,6 +38,7 @@ headings as titles, and you have more freedom to place them wherever you like.")
|
|||||||
(add-hook 'org-tree-slide-after-narrow-hook #'org-display-inline-images)
|
(add-hook 'org-tree-slide-after-narrow-hook #'org-display-inline-images)
|
||||||
(add-hook 'org-tree-slide-mode-hook #'+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)
|
(add-hook 'org-tree-slide-play-hook #'+org-present-hide-blocks-h)
|
||||||
|
(add-hook 'org-tree-slide-stop-hook #'+org-present-hide-blocks-h)
|
||||||
|
|
||||||
(when (featurep! :editor evil)
|
(when (featurep! :editor evil)
|
||||||
(map! :map org-tree-slide-mode-map
|
(map! :map org-tree-slide-mode-map
|
||||||
|
Reference in New Issue
Block a user