Fix test-completion with completion-regexp-list
* src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil completion-regexp-list (Bug #23533).
This commit is contained in:
parent
2989ad9060
commit
dd98ee8992
1 changed files with 2 additions and 0 deletions
|
@ -1686,6 +1686,8 @@ the values STRING, PREDICATE and `lambda'. */)
|
|||
tem = Fassoc_string (string, collection, completion_ignore_case ? Qt : Qnil);
|
||||
if (NILP (tem))
|
||||
return Qnil;
|
||||
else if (CONSP (tem))
|
||||
tem = XCAR (tem);
|
||||
}
|
||||
else if (VECTORP (collection))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue