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: Juanma Barranquero
Subject: Re: Make optional argument equal to 0
Date: Fri, 9 Feb 2007 13:10:26 +0100

On 9 Feb 2007 03:16:54 -0800, weber <hugows@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




reply via email to

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