[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6151: mystery arguments of define-minor-mode + describe-function
From: |
Juanma Barranquero |
Subject: |
bug#6151: mystery arguments of define-minor-mode + describe-function |
Date: |
Mon, 10 May 2010 12:45:19 +0200 |
On Mon, May 10, 2010 at 12:02, <jidanni@jidanni.org> wrote:
> Some describe-function results add a mystery argument ARG, not visible
> in the corresponding lisp code.
>
> Or maybe it is visible, but not to your average reader.
Among other things, `define-minor-mode' defines a function, in this
case longlines-mode; and that function, like all minor modes, has an
arg to turn it on or off. So it's not `describe-function' which adds a
"mystery argument", but the docstring for the modes, that sometimes
lacks the relevant info.
That said, any Emacs user should be by now used to minor modes having
such an argument...
Juanma