org.el: Fix bug: hide drawers in inline tasks too.

* org.el (org-cycle-internal-local): Fix bug: hide drawers in
inline tasks too.
This commit is contained in:
Bastien Guerry 2012-01-29 00:18:46 +01:00 committed by Eric Schulte
parent 2ac428a21d
commit 2bbb8b99f4
1 changed files with 2 additions and 0 deletions

View File

@ -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