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

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

Re: Make optional argument equal to 0


From: weber
Subject: Re: Make optional argument equal to 0
Date: 9 Feb 2007 04:22:26 -0800
User-agent: G2/1.0

On 9 fev, 09:10, "Juanma Barranquero" <lek...@gmail.com> wrote:
> On 9 Feb 2007 03:16:54 -0800, weber <hug...@gmail.com> wrote:
>
> > If I just call it with M-x try-arg, shouldn't I be geting a 0  ?
> > I'm getting a 1! :)
>
> Try with (interactive "P"), not "p". With "p" arg is never nil.
>
>                     /L/e/k/t/u

Works!
Thanks
weber



reply via email to

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