summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-01-29 00:18:46 +0100
committerEric Schulte <eric.schulte@gmx.com>2012-02-19 08:04:38 -0700
commit2bbb8b99f4870f0f03ef9879a2eabb3e3b0aa487 (patch)
treeca0d6263bcb7f69963d68bc4c5560ade52f77467
parent2ac428a21d544b35831265cad0df9a1372b268f2 (diff)
downloadorg-mode-2bbb8b99f4870f0f03ef9879a2eabb3e3b0aa487.tar.gz
org.el: Fix bug: hide drawers in inline tasks too.
* org.el (org-cycle-internal-local): Fix bug: hide drawers in inline tasks too.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 55b32b6..ff59b67 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6313,6 +6313,8 @@ in special contexts.
(org-list-set-item-visibility (point-at-bol) struct 'children)
(org-show-entry)
(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.
(when (eq org-cycle-include-plain-lists 'integrate)
(save-excursion