From 2bbb8b99f4870f0f03ef9879a2eabb3e3b0aa487 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 29 Jan 2012 00:18:46 +0100 Subject: [PATCH] org.el: Fix bug: hide drawers in inline tasks too. * org.el (org-cycle-internal-local): Fix bug: hide drawers in inline tasks too. --- lisp/org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index 55b32b651..ff59b6779 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