[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cua: quiet warning messages
From: |
Stefan Monnier |
Subject: |
Re: cua: quiet warning messages |
Date: |
Thu, 03 Jul 2003 20:47:58 -0400 |
> As far as I know, minor modes are only ever called with the
> following arguments:
>
> - integers
> - nil
> - t
> - a one-element list containing an integer
> - toggle
>
> I think there are others, such as the symbol `-'.
I can't remember seeing it, but that sounds right.
> How about text for modes.texi?
>
>
>
> The command should accept one optional argument. If the argument is
> @code{nil}, it should toggle the mode (turn it on if it is off, and
> off if it is on). It should turn the mode on if the argument is a
> positive integer, the symbol @code{t}, or a list whose @sc{car} is one
> of those. It should turn the mode off if the argument is a negative
> integer or zero, the symbol @code{-}, or a list whose @sc{car} is one
> of those. The meaning of other arguments is not specified.
Sounds perfect to me,
Stefan