Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2012-12-25 03:29:29 +01:00
commit 99c8732bf8
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ See `org-crypt-disable-auto-save'."
(save-excursion
(org-back-to-heading t)
(search-forward "-----BEGIN PGP MESSAGE-----"
(save-excursion (org-end-of-subtree t)) t))))
(save-excursion (outline-next-heading)) t))))
(defun org-crypt-use-before-save-magic ()
"Add a hook to automatically encrypt entries before a file is saved to disk."