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
parent 263cbb6cc7
commit bb28480169
1 changed files with 2 additions and 0 deletions

View File

@ -6301,6 +6301,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