[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should nil COLLECTION element mean a "nil" candidate for completing-
Re: Should nil COLLECTION element mean a "nil" candidate for completing-read? Alist doc.
Tue, 21 Jul 2009 11:55:54 -0400
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)
> What does that mean? Are you simply saying "don't do that" - users
> must ensure that there are no nil elements in the COLLECTION arg?
> And what about the rest of my post, regarding the doc contradictions and
> confusion wrt alist elements?
> The doc describing the COLLECTION arg to `completing-read',
> `try-completion', etc. does not call out this special treatment of
> nil. In fact, it does not even say that you can mix cons entries and
> string entries (let alone nil entries).
Indeed, it doesn't say you can do it. So if you do it, you're on
Re: Should nil COLLECTION element mean a "nil" candidate for completing-read? Alist doc., Johan Bockgård, 2009/07/21