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 <ruyexel@gmail.com> <http://lists.gnu.org/r/emacs-orgmode/2017-12/msg00314.html>
This commit is contained in:
parent
5696f353dc
commit
85ed1fd01d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue