|
From: | Max Nikulin |
Subject: | Re: contrib - ol-todo |
Date: | Thu, 22 Sep 2022 21:25:31 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |