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

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

Re: Rationale behind conversion of a nil prefix arg to numeric 1


From: Kaushal Modi
Subject: Re: Rationale behind conversion of a nil prefix arg to numeric 1
Date: Mon, 05 Sep 2016 15:22:04 +0000

Exactly.

Just treat the "p" (lowercase p) interactive form as the special case where
you only need to deal with numeric arguments and the default numeric
argument is 1.

If you need to deal with numeric, nil and other non-numeric arguments like
(4), (16), etc, use the "P" (uppercase p) interactive form. The "P"
interactive form passes the args to the function in their raw, untouched
form.

On Mon, Sep 5, 2016, 8:57 AM Eli Zaretskii <address@hidden> wrote:

>
> Commands that need to distinguish between those should not use "p".
>
-- 

Kaushal Modi


reply via email to

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