From 5021bada955ab4f6e216ac41726cd49537ca17ea Mon Sep 17 00:00:00 2001 From: Bastien Date: Sun, 2 May 2021 07:09:55 +0200 Subject: [PATCH] lisp/org.el: Fix bug when unfolding a subtree * lisp/org.el (org-cycle-internal-local): Use 'tree instead of 'canonical when setting the visibility of the subtree to unfold. Reported-by: Yasushi SHOJI Link: https://orgmode.org/list/CAELBRWLakDCbawmMdS5Qi0qh5FC2ixF82xNfCg75wMjmze6pbA@mail.gmail.com/ --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 8730cd343..ad51ecbb3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6489,7 +6489,7 @@ Use `\\[org-edit-special]' to edit table.el tables")) (org-list-set-item-visibility (point-at-bol) struct 'children) (org-show-entry) (org-with-limited-levels (org-show-children)) - (org-show-set-visibility 'canonical) + (org-show-set-visibility 'tree) ;; Fold every list in subtree to top-level items. (when (eq org-cycle-include-plain-lists 'integrate) (save-excursion