[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] crypt entries and journal
From: |
Julien Danjou |
Subject: |
Re: [Orgmode] crypt entries and journal |
Date: |
Tue, 08 Feb 2011 11:40:11 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Mon, Feb 07 2011, Richard Riley wrote:
> I would like them to. Best way?
Decrypt them on file loading.
(defun jd:org-decrypt-entires-silently ()
(let ((m (buffer-modified-p)))
(org-decrypt-entries)
(unless m
(set-buffer-modified-p nil))))
(add-hook 'org-mode-hook 'jd:org-decrypt-entires-silently)
I think that's something that could be added to org-crypt. I'll make a
patch later.
--
Julien Danjou
❱ http://julien.danjou.info
pgpVCuxLdYlxk.pgp
Description: PGP signature