emacs-devel
[Top][All Lists]
Advanced

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

Re: dropped 4th arg from all-completions


From: Chong Yidong
Subject: Re: dropped 4th arg from all-completions
Date: Tue, 27 Apr 2010 17:44:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>> My 23.2 code shows all-completions accepts 4 args.
>> Heck, even the 24 branch still accepts 4 args.
>
> Your "acceptance" is hollow - bad faith. Emacs does not raise an
> error, but it does not respect the arg.

(all-completions "" '(" asdfgh") nil nil)
   => (" asdf")

(all-completions "" '(" asdfgh") nil t)
   => nil

> And the doc shows only 3 args, and the byte compiler warns about #4.

The byte compiler warns, but the code still works.




reply via email to

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