Selaa lähdekoodia

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 13 vuotta sitten
vanhempi
commit
4fd652d361
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -6312,7 +6312,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.