summaryrefslogtreecommitdiff
path: root/lisp/org-inlinetask.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org-inlinetask.el')
-rw-r--r--lisp/org-inlinetask.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index 112d3df..ca7572b 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -315,7 +315,8 @@ If the task has an end part, also demote it."
((= end start))
;; Inlinetask was folded: expand it.
((get-char-property (1+ start) 'invisible)
- (org-show-entry))
+ (outline-flag-region start end nil)
+ (org-cycle-hide-drawers 'children))
(t (outline-flag-region start end t)))))
(defun org-inlinetask-remove-END-maybe ()