|
From: | Dmitry Gutov |
Subject: | bug#50583: 27.2; test-completion should return non-nil |
Date: | Wed, 15 Sep 2021 02:37:01 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
In the following code, I assume that `test-completion' should return a non-‘nil’ value because "foo" is a valid completion alternative.
"foo" is not a member of the list '("foobar" "bar" "barfoo"), so that's not true.
Perhaps you want to use 'try-completion' instead?
[Prev in Thread] | Current Thread | [Next in Thread] |