From 6ba1d35f6438ddaedac7e98c298acbb911fa7f35 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 22 Mar 2012 01:39:51 +0100 Subject: [PATCH] Don't try to hide drawers within subtrees, it slows cycling down. * org.el (org-cycle-internal-local): Don't try to hide drawers within subtrees in this function, it slows cycling down. This comments the change made in commit bb28480169558a183fab2330476a49b4fb1aec46 Thanks to Marcel Van der Boom for reporting this. --- lisp/org.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index dd19c8789..801a5e292 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6312,8 +6312,11 @@ in special contexts. (org-list-set-item-visibility (point-at-bol) struct 'children) (org-show-entry) (org-with-limited-levels (show-children)) - (when (memq 'org-cycle-hide-drawers org-cycle-hook) - (org-cycle-hide-drawers 'subtree)) + ;; FIXME: This slows down the func way too much. + ;; How keep drawers hidden in subtree anyway? + ;; (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 -- 2.11.4.GIT