diff options
author | Bastien Guerry <bzg@altern.org> | 2012-12-25 03:29:29 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-12-25 03:29:29 +0100 |
commit | 99c8732bf89a55b50dba6262ef16a43c5222e59f (patch) | |
tree | 4afe0f0b7d88a2fc8bf790a2104ceda8ca61f44d | |
parent | a04ccc40b2924a7afc99c6b414ae394e1affdfdb (diff) | |
parent | 6671e80453590ec82ec18c1343ce4829f523af2d (diff) | |
download | org-mode-99c8732bf89a55b50dba6262ef16a43c5222e59f.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org-crypt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-crypt.el b/lisp/org-crypt.el index a187d2f..00c2d8c 100644 --- a/lisp/org-crypt.el +++ b/lisp/org-crypt.el @@ -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." |