[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should nil COLLECTION element mean a "nil" candidate for completing-
From: |
Stefan Monnier |
Subject: |
Re: Should nil COLLECTION element mean a "nil" candidate for completing-read? Alist doc. |
Date: |
Tue, 21 Jul 2009 11:55:54 -0400 |
User-agent: |
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?
Yes.
> And what about the rest of my post, regarding the doc contradictions and
> confusion wrt alist elements?
Same idea:
> 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
your own.
Stefan
Re: Should nil COLLECTION element mean a "nil" candidate for completing-read? Alist doc., Johan Bockgård, 2009/07/21