|
From: | Stefan Monnier |
Subject: | bug#10754: define-minor-mode and doc of derived mode |
Date: | Sun, 17 Jun 2018 17:00:17 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>>> We can add an optional arg to `define-minor-mode'. >> I'd rather avoid it if I can. > I meant a keyword argument when I was saying optional. That's what I understood, and I'd still rather avoid that. I think we can avoid it by looking for the presence of ARG in the docstring (or by simply always adding it, and then going through the various minor modes and remove the corresponding text from their docstrings). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |