Browse Source

Merge branch 'maint'

Nicolas Goaziou 11 years ago
parent
commit
5aaf45ea6d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org-inlinetask.el

+ 2 - 1
lisp/org-inlinetask.el

@@ -315,7 +315,8 @@ If the task has an end part, also demote it."
      ((= end start))
      ((= end start))
      ;; Inlinetask was folded: expand it.
      ;; Inlinetask was folded: expand it.
      ((get-char-property (1+ start) 'invisible)
      ((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)))))
      (t (outline-flag-region start end t)))))
 
 
 (defun org-inlinetask-remove-END-maybe ()
 (defun org-inlinetask-remove-END-maybe ()