Is there a smart way to keep locally enabled minor modes enabled when changing/restarting major modes without adding it to the mode hook or enable it globally?
For instance, if I usually don't use
paredit, but decide one day I want to try it out, but then want to change my major mode from
lisp-interaction-mode. How can I do this without
paredit being disabled?
More specifically I want this to be the case with an extension I am writing for
org-mode, where I want a variable to be updated when
org-ctrl-c-ctrl-c is run, but because
org-mode in some contexts restarts and thus disables my minor mode, it is unable to do this without always being enabled with