mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Set org-crypt vars sooner
In :init rather than :config, so users' (after! org-crypt ...) blocks take precedence.
This commit is contained in:
@ -868,7 +868,6 @@ compelling reason, so..."
|
||||
:init
|
||||
(add-hook! 'org-mode-hook
|
||||
(add-hook 'before-save-hook 'org-encrypt-entries nil t))
|
||||
:config
|
||||
(add-to-list 'org-tags-exclude-from-inheritance "crypt")
|
||||
(setq org-crypt-key user-mail-address))
|
||||
|
||||
|
Reference in New Issue
Block a user