Hide Org drawers during visibility cycling by default

This is taken from the release notes of Org 9.6,
cf. https://orgmode.org/Changes.html.
This commit is contained in:
Daniel - 2023-11-18 16:25:32 +01:00
parent aa0a7e9791
commit bbd547c1b7
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 4 additions and 0 deletions

View File

@ -550,6 +550,7 @@
(use-package org-attach)
(use-package org-id)
(use-package org-goto)
(use-package org-cycle)
(use-package org
:pin "gnu"
@ -705,6 +706,9 @@
(add-hook 'org-mode-hook 'page-break-lines-mode)
(add-hook 'org-mode-hook 'turn-on-auto-fill)
;; Hide drawers by default when cycling items
(add-hook 'org-cycle-hook #'org-cycle-hide-drawers)
;; Statically color links sponding to whether the file exists, but
;; this turns out to be slow on Windows; we can use `org-lint' for
;; this when necessary)