"J.D. Smith" <[email protected]> writes:

> Understood.  Seems fine to return a value; done.  I just tried on
> `org-ctrl-c-ctrl-c-hook' and it indeed works very well, and really fits
> the "do something here" vibe of C-c C-c.  /Great/ idea.
>
> Maybe we should add the command to this hook upon enabling the mode?
> Ihor?

For me, a more natural approach would be using
org-fold-reveal-start-hook. I can also see how some people may prefer
C-c C-c.

IMHO, we can document both and left it up to users to add the hooks.
Although I am personally inclined to add org-fold-reveal-start-hook. But
I am clearly biased as I like that option personally.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to