diff options
author | Bastien Guerry <bzg@altern.org> | 2012-01-29 00:18:46 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-01-29 00:18:46 +0100 |
commit | bb28480169558a183fab2330476a49b4fb1aec46 (patch) | |
tree | 5b769243d2c167d2963311fc2346e15ad23554fd | |
parent | 263cbb6cc7afdeba4ead3c8b9980c0a33818d0cf (diff) | |
download | org-mode-bb28480169558a183fab2330476a49b4fb1aec46.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.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el index 587d298..f670787 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 |