org-manual: Document `org-babel-pre-tangle-hook' and `org-babel-tangle-body-hook'

* doc/org-manual.org (Tangle hooks): Document the missing hooks.
This commit is contained in:
Ihor Radchenko 2022-11-22 10:48:46 +08:00
parent f995425d06
commit b57674a847
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 13 additions and 1 deletions

View File

@ -18816,7 +18816,19 @@ expanded anyway.
:UNNUMBERED: notoc
:END:
# FIXME missing pre-tangle and tangle-body hooks
- ~org-babel-pre-tangle-hook~ ::
#+vindex: org-babel-pre-tangle-hook
This hook is run before the tangle process begins. The active
buffer is buffer to be tangled.
- ~org-babel-tangle-body-hook~ ::
#+vindex: org-babel-tangle-body-hook
This hook is run from a temporary buffer containing expanded code of
every tangled code block. The hook can modify the expanded code as
needed. The contents of the current buffer will be used as actual
code block expansion.
- ~org-babel-post-tangle-hook~ ::