summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-02-13 11:22:37 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-02-13 11:22:37 +0100
commitd869973c9d09059be7c7023277e54e94216fa675 (patch)
treeeacd65d037430eadcca1c701a2edfc5068ec9f65
parentb5082974c83a3a4838db86025edce857b11e5847 (diff)
downloadorg-mode-d869973c9d09059be7c7023277e54e94216fa675.tar.gz
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.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 32c047c..c350733 100644
--- a/lisp/org.el
+++ b/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.