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

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

bug#24369: Docu of prefix-numeric-value


From: npostavs
Subject: bug#24369: Docu of prefix-numeric-value
Date: Sun, 16 Jul 2017 21:37:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

tags 24369 notabug
close 24369
quit

Drew Adams <drew.adams@oracle.com> writes:

>> > >     • ‘nil’, meaning there is no prefix argument.  Its numeric value
>> > >       is 1,
>> >
>> > That's the point: Value of nil is 1
>> 
>> No, the _numeric_ value of nil is 1.  IOW, nil, when interpreted
>> as a number, is 1.  An entirely different story.
>
> Exactly.  The value of `(prefix-numeric-value nil)' is 1.
>
> That's what "numeric value of" the prefix argument means.
> It is also what the shorter expression "the numeric prefix
> argument" means.
>
> The fact that the value of some function applied to nil
> is 1 does not mean that the value of nil is 1.

I think there is nothing more to be done here, so I'm closing the bug.





reply via email to

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