help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: define-minor-mode: what's the purpose of the BODY argument?


From: Raffaele Ricciardi
Subject: Re: define-minor-mode: what's the purpose of the BODY argument?
Date: Thu, 16 Aug 2012 18:23:03 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 08/16/2012 03:05 PM, Drew Adams wrote:
>> the documentation of `define-minor-mode' begins with:
>>
>> Macro: define-minor-mode mode doc [init-value [lighter [keymap]]]
>> keyword-args... body...
>>
>> Then it continues with documenting what the purpose of each
>> argument is, but it fails to do so for the BODY argument.  So,
>> what's the purpose of that argument?  Is it...?
>
> You should not have to guess.
>
> To find out the answer, file a doc bug report. ;-)
> Each of the arguments should be described in the doc string.
>
> M-x report-emacs-bug
>
>

Well, I discovered that the argument is indeed documented, only not as
prominently as the others.  Therefore I missed it, also because arguments in
Info mode are not highlighted the way I'm used to in Help mode. I apologize for
the inconvenience.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]