emacs-devel
[Top][All Lists]
Advanced

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

Re: empty-directory predicate, native implementation


From: Michael Albinus
Subject: Re: empty-directory predicate, native implementation
Date: Mon, 19 Oct 2020 16:50:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Arthur Miller <arthur.miller@live.com> writes:

Hi Arthur,

>> *Any* non-nil COUNT, which is not a natural number, is handled as it
>> were nil. That's what my proposal for the docstring tries to say ("If
>> COUNT is a natural number ...").
>
> Yes, that is how I interpreted it; just wanted to confirm.

See my other message. Likely we're served better, if we raise an error
for a non-nil COUNT not being a natural number. "Principle of least
surprise" :-)

Best regards, Michael.



reply via email to

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