diff options
Diffstat (limited to 'lisp/org/org-crypt.el')
-rw-r--r-- | lisp/org/org-crypt.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org/org-crypt.el b/lisp/org/org-crypt.el index 103baeb49e0..48f76b79fd4 100644 --- a/lisp/org/org-crypt.el +++ b/lisp/org/org-crypt.el @@ -185,10 +185,10 @@ See `org-crypt-disable-auto-save'." ((eq org-crypt-disable-auto-save 'encrypt) (message "org-decrypt: Enabling re-encryption on auto-save.") (add-hook 'auto-save-hook - (lambda () - (message "org-crypt: Re-encrypting all decrypted entries due to auto-save.") - (org-encrypt-entries)) - nil t)) + (lambda () + (message "org-crypt: Re-encrypting all decrypted entries due to auto-save.") + (org-encrypt-entries)) + nil t)) (t nil)))) (defun org-crypt-key-for-heading () |