Allow using an encrypted headline as a capture target.
commitac6409feaecd4f2faa5b96ff7aeb42c156b8cbdc
authorBastien Guerry <bzg@altern.org>
Tue, 25 Sep 2012 14:32:52 +0000 (25 16:32 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 25 Sep 2012 15:29:44 +0000 (25 17:29 +0200)
treefdb3b64cd3ed8e31ce98a5caf080f5f307951da7
parent26b9e71f263a4bb29d8cc353d0afcd4be70287c2
Allow using an encrypted headline as a capture target.

* org-capture.el (org-capture-finalize): Maybe re-encrypt
the target headline if it was decrypted.
(org-capture-set-target-location): Maybe decrypt the target
headline.

* org-crypt.el (org-at-encrypted-entry-p): New function.

Thanks to Guilherme Gondim for suggesting this.
lisp/org-capture.el
lisp/org-crypt.el