From 85ed1fd01dee462b59bcd622b3d0dee739d0214b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 25 Dec 2017 23:53:26 +0100 Subject: [PATCH] Fix visibility cycling when point is invisible * lisp/org.el (org-cycle-internal-local): Fix visibility cycling when point is invisible. Reported-by: Ruy Exel --- lisp/org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org.el b/lisp/org.el index e362c359d..b42108a1a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6928,6 +6928,7 @@ If POS is nil, use `point' instead." (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) ;; 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)