diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-25 23:53:26 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-12-25 23:53:26 +0100 |
commit | 85ed1fd01dee462b59bcd622b3d0dee739d0214b (patch) | |
tree | 3492746d7af55b6641041a515925f3d97f151525 | |
parent | 5696f353dcfbd94456cbe6af95ce3805165bc510 (diff) | |
download | org-mode-85ed1fd01dee462b59bcd622b3d0dee739d0214b.tar.gz |
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>
-rw-r--r-- | lisp/org.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el index e362c35..b42108a 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) |