Use `org-flag-subtree' instead of `outline-hide-subtree'
commit12f93c112b0e99a609c1df09b9a20c82c6293b42
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 11 May 2019 07:48:53 +0000 (11 09:48 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 11 May 2019 07:48:53 +0000 (11 09:48 +0200)
treed7125253cf047123ee856d9cae82f9612616809c
parentcd1af27a2a7dbecca3d309e96f6ac51c841c2586
Use `org-flag-subtree' instead of `outline-hide-subtree'

* lisp/org-agenda.el (org-agenda-show-1):
* lisp/org-archive.el (org-archive-to-archive-sibling):
* lisp/org-crypt.el (org-encrypt-entry):
* lisp/org-feed.el (org-feed-update):
* lisp/org.el (org-set-visibility-according-to-property):
(org-move-subtree-down):
(org-paste-subtree):
(org-yank-generic):
* testing/lisp/test-org-inlinetask.el (test-org-inlinetask/folding-directly-consecutive-tasks/1): Use `org-flag-subtree' instead of `outline-hide-subtree'.

`outline-hide-subtree' leaves overlays on top of white spaces,
particularly at the end of the buffer. `org-flag-subtree' does not.
lisp/org-agenda.el
lisp/org-archive.el
lisp/org-crypt.el
lisp/org-feed.el
lisp/org.el
testing/lisp/test-org-inlinetask.el