diff options
| author | Noam Postavsky | 2016-06-24 20:44:44 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-06-26 21:12:33 -0400 |
| commit | dd98ee8992c3246861e44447ffcd02886a52878e (patch) | |
| tree | 32196cabc2407d98e16b341c6e8967a9b4d2e8ca /src | |
| parent | 2989ad906048b374653d7030ebdaea62b670eed0 (diff) | |
| download | emacs-dd98ee8992c3246861e44447ffcd02886a52878e.tar.gz emacs-dd98ee8992c3246861e44447ffcd02886a52878e.zip | |
Fix test-completion with completion-regexp-list
* src/minibuf.c (Ftest_completion): Handle alist COLLECTION with non-nil
completion-regexp-list (Bug #23533).
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index efce7e26b29..57eea05b0fc 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -1686,6 +1686,8 @@ the values STRING, PREDICATE and `lambda'. */) | |||
| 1686 | tem = Fassoc_string (string, collection, completion_ignore_case ? Qt : Qnil); | 1686 | tem = Fassoc_string (string, collection, completion_ignore_case ? Qt : Qnil); |
| 1687 | if (NILP (tem)) | 1687 | if (NILP (tem)) |
| 1688 | return Qnil; | 1688 | return Qnil; |
| 1689 | else if (CONSP (tem)) | ||
| 1690 | tem = XCAR (tem); | ||
| 1689 | } | 1691 | } |
| 1690 | else if (VECTORP (collection)) | 1692 | else if (VECTORP (collection)) |
| 1691 | { | 1693 | { |