diff options
Diffstat (limited to 'lisp/org/org-crypt.el')
| -rw-r--r-- | lisp/org/org-crypt.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org/org-crypt.el b/lisp/org/org-crypt.el index fdfd1d326da..2dfc4addcc2 100644 --- a/lisp/org/org-crypt.el +++ b/lisp/org/org-crypt.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; org-crypt.el --- Public key encryption for org-mode entries | 1 | ;;; org-crypt.el --- Public key encryption for org-mode entries |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2007-2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Emacs Lisp Archive Entry | 5 | ;; Emacs Lisp Archive Entry |
| 6 | ;; Filename: org-crypt.el | 6 | ;; Filename: org-crypt.el |
| @@ -258,7 +258,7 @@ See `org-crypt-disable-auto-save'." | |||
| 258 | (save-excursion | 258 | (save-excursion |
| 259 | (org-back-to-heading t) | 259 | (org-back-to-heading t) |
| 260 | (search-forward "-----BEGIN PGP MESSAGE-----" | 260 | (search-forward "-----BEGIN PGP MESSAGE-----" |
| 261 | (save-excursion (org-end-of-subtree t)) t)))) | 261 | (save-excursion (outline-next-heading)) t)))) |
| 262 | 262 | ||
| 263 | (defun org-crypt-use-before-save-magic () | 263 | (defun org-crypt-use-before-save-magic () |
| 264 | "Add a hook to automatically encrypt entries before a file is saved to disk." | 264 | "Add a hook to automatically encrypt entries before a file is saved to disk." |