Bläddra i källkod

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

* org.el (org-cycle-internal-local): Fix bug: hide drawers in
inline tasks too.
Bastien Guerry 13 år sedan
förälder
incheckning
2bbb8b99f4
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      lisp/org.el

+ 2 - 0
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