summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-02-13 11:22:37 +0100
committerEric Schulte <eric.schulte@gmx.com>2012-02-19 09:15:19 -0700
commit4fd652d3614aae391f1800577f8ce222987704e4 (patch)
treeea93d86860cb2596d081d6ea2c2538c029a4ca9d
parent2189b9ac4746f2035b81117414ce52c9be7353ab (diff)
downloadorg-mode-4fd652d3614aae391f1800577f8ce222987704e4.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 2e4ab33..74329b5 100644
--- a/lisp/org.el
+++ b/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.