On Monday, 2 Sep 2019 at 09:01, garj...@garjola.net wrote: > I am using typo-mode (https://github.com/jorgenschaefer/typoel) in my > org buffers (actually with a hook for text-mode), but I would like to > disable it in source code blocks. > > I have been unable to find a hook to do so (I understand that > org-src-mode-hook is used when editing with ‘C-c '’ but not in the org > buffer).
I am not entirely sure what you want here. If it is that you want to turn off typo-mode when point moves into a src block but while still in the whole org buffer, then you cannot do this AFAIK. The best approach is to always edit src blocks using C-c ' (org-edit-special) and then you can use org-src-mode-hook to do what you want. -- Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-401-gfabd6d