Hi Pieter,
Pieter Praet writes:
> As auto-save-mode can only cause leakage when there's actual decrypted
> data lying around, don't check for it (and potentially cause annoyance)
> on init, but only when org-decrypt-entry is called.
Applied, thanks for this!
--
Bastien
As auto-save-mode can only cause leakage when there's actual decrypted
data lying around, don't check for it (and potentially cause annoyance)
on init, but only when org-decrypt-entry is called.
* lisp/org-crypt.el:
- add defcustom `org-crypt-disable-auto-save'
- `org-decrypt-entry': before de
Signed-off-by: Pieter Praet
---
This is appears to be the only solution that doesn't cause
the production of inordinate amounts of cortisol.
I've also added a warning re the broken state of `auto-save-hook'.
lisp/org-crypt.el | 36
1 files changed, 32 ins