refactor(org): move org-crypt and related hooks behind a '+crypt' flag

This commit is contained in:
VitalyR 2023-06-07 15:57:41 +08:00 committed by Henrik Lissner
parent 1d662a54a8
commit 547584b831
2 changed files with 3 additions and 1 deletions

View file

@ -1143,8 +1143,8 @@ between the two."
(set-marker p nil)))))
;; TODO Move to +encrypt flag
(use-package! org-crypt ; built-in
:when (modulep! +crypt)
:commands org-encrypt-entries org-encrypt-entry org-decrypt-entries org-decrypt-entry
:hook (org-reveal-start . org-decrypt-entry)
:preface