On Fri, Jan 5, 2018 at 2:56 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> (I see describe-mode only takes minor modes which have function and
>> variable using the same symbol)
>
> That happens automagically if one uses define-minor-mode, right?
Except if you use its :variable option.