Mehmet Tekman <mtekma...@gmail.com> writes:

> (Sorry for the previous top posting.)
>
> One issue that I cannot seem to solve by myself is getting the
> `org-babel-tangle-sync-mode' to persist on the `after-save-hook'
> after it's been activated.  My understanding of this hook is
> that it is global and persists across buffers, but I'm seeing
> some inconsistent behaviour that requires me to toggle the mode
> on and off again.

Any hook can be local.
See LOCAL argument in help:add-hook

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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