Explorar o código

Correctly unfold headlines containing an inlinetask

* lisp/org.el (org-cycle-internal-local): Correctly unfold headlines
  containing an inlinetask.

Based on a patch from Marc-Oliver Ihm.
Nicolas Goaziou %!s(int64=13) %!d(string=hai) anos
pai
achega
d869973c9d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -6302,7 +6302,7 @@ in special contexts.
       (if (org-at-item-p)
 	  (org-list-set-item-visibility (point-at-bol) struct 'children)
 	(org-show-entry)
-	(show-children)
+	(org-with-limited-levels (show-children))
 	(when (memq 'org-cycle-hide-drawers org-cycle-hook)
 	  (org-cycle-hide-drawers 'subtree))
 	;; Fold every list in subtree to top-level items.