Max Nikulin <maniku...@gmail.com> writes: > On 22/09/2022 19:46, Tyler Grinn wrote: >> Ihor Radchenko writes: >> >>> Why don't just modify :activate-func in the ordinary file links? >> I like this idea, in fact so much I got rid of the todo style >> link. But >> one thing that's still problematic is that I'd like org-todo-link-mode >> to be a local mode but for some reason make-local-variable isn't working >> how I expect for org-link-parameters: > > Just a guess. Perhaps buffer-local variable is a shallow copy that > contains references to property list instances shared by all buffers. > > An idea: check if the minor mode is enabled inside :activate-func that > is set globally.
That makes it much simpler, thanks for the tip!