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

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

Re: Is 't' positive?


From: Pascal Bourguignon
Subject: Re: Is 't' positive?
Date: Thu, 12 Apr 2007 14:11:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux)

Leo <sdl.web@gmail.com> writes:

> Quite a few commands require positive arguments such as ido-mode.
>
> ,----
> | (ido-mode &optional arg)
> | 
> | Toggle ido speed-ups on or off.
> | With arg, turn ido speed-up on if arg is positive, off otherwise.
> `----
>
> However, it seems legal to use 't' and they will behave like it is
> positive. So the question, is 't' positive? Is it safe to use 't' in
> this kind of functions?

Depends on the function.  t may have a different meaning than 1, and
nil than 0...

-- 
__Pascal Bourguignon__
http://www.informatimago.com
http://pjb.ogamita.org


reply via email to

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