Skip to content

Commit

Permalink
manual: Document org-babel-tangle-finished-hook
Browse files Browse the repository at this point in the history
* etc/ORG-NEWS: Mention new hook, `org-babel-tangle-finished-hook'.

* doc/org-manual.org (Tangle hooks): Mention new hook,
`org-babel-tangle-finished-hook'.
  • Loading branch information
tecosaur committed Sep 23, 2022
1 parent 6a82d17 commit 5a96768
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/org-manual.org
Original file line number Diff line number Diff line change
Expand Up @@ -18610,6 +18610,10 @@ expanded anyway.
~org-babel-tangle~, making it suitable for post-processing,
compilation, and evaluation of code in the tangled files.

- ~org-babel-tangle-finished-hook~ ::
#+vindex: org-babel-tangle-finished-hook
This hook is run after post-tangle hooks, in the original buffer.

*** Jumping between code and Org
:PROPERTIES:
:UNNUMBERED: notoc
Expand Down
7 changes: 7 additions & 0 deletions etc/ORG-NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,13 @@ to pass the contents of a named code block as a string argument.
The new property =ORG-IMAGE-ACTUAL-WIDTH= can override the global
variable ~org-image-actual-width~ value for inline images display width.

*** New ~org-babel-tangle-finished-hook~ hook run at the very end of ~org-babel-tangle~

This provides a proper counterpart to ~org-babel-pre-tangle-hook~, as
~org-babel-post-tangle-hook~ is run
per-tangle-destination. ~org-babel-tangle-finished-hook~ is just run
once after the post tangle hooks.

** New options
*** New custom settings =org-icalendar-scheduled-summary-prefix= and =org-icalendar-deadline-summary-prefix=

Expand Down

0 comments on commit 5a96768

Please sign in to comment.