Hello,

Jonas Bernoulli <jo...@bernoul.li> writes:

> Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:
>
>> Jonas Bernoulli <jo...@bernoul.li> writes:
>>
>>> Thanks.  But could you please change it to
>>>
>>>   (if (or outline-minor-mode orgstruct-mode)
>>>       (call-interactively #'show-children)
>>>     ...)
>>
>> You could set `orgstruct-mode' to a non-nil value whenever
>> `outline-minor-mode' is enabled.
>
> I could (instead I am currently just maintaining a local patch),
> but what is the reasoning for not just doing what I suggested?

There is no reason for Org's core to know about `outline-minor-mode', or
any other minor mode in the wild. 

IMO, using a hook is much more simple than maintaining a local patch.


Regards,

-- 
Nicolas Goaziou

Reply via email to