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:
parent
aa0a7e9791
commit
bbd547c1b7
4
init.el
4
init.el
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue