summaryrefslogtreecommitdiff
path: root/lisp/org-crypt.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org-crypt.el')
-rw-r--r--lisp/org-crypt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-crypt.el b/lisp/org-crypt.el
index 59804a5..abe9f3c 100644
--- a/lisp/org-crypt.el
+++ b/lisp/org-crypt.el
@@ -191,7 +191,7 @@ See `org-crypt-disable-auto-save'."
(insert encrypted-text)
(when folded
(goto-char start-heading)
- (hide-subtree))
+ (outline-hide-subtree))
nil)))))
(defun org-decrypt-entry ()