Set org-crypt vars sooner
In :init rather than :config, so users' (after! org-crypt ...) blocks take precedence.
This commit is contained in:
parent
5662b2c4b3
commit
e645185907
1 changed files with 0 additions and 1 deletions
|
@ -868,7 +868,6 @@ compelling reason, so..."
|
||||||
:init
|
:init
|
||||||
(add-hook! 'org-mode-hook
|
(add-hook! 'org-mode-hook
|
||||||
(add-hook 'before-save-hook 'org-encrypt-entries nil t))
|
(add-hook 'before-save-hook 'org-encrypt-entries nil t))
|
||||||
:config
|
|
||||||
(add-to-list 'org-tags-exclude-from-inheritance "crypt")
|
(add-to-list 'org-tags-exclude-from-inheritance "crypt")
|
||||||
(setq org-crypt-key user-mail-address))
|
(setq org-crypt-key user-mail-address))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue