Fix documentation of completion functions
So that the described behavior matches the code (and docstrings). * doc/lispref/minibuf.texi (Basic Completion): Symbol keys of hash table collections are used like string keys, not ignored (Bug #10416).
This commit is contained in:
parent
65c96cc025
commit
d1efbafdf2
1 changed files with 2 additions and 2 deletions
|
@ -733,8 +733,8 @@ list contains elements of any other type, those are ignored.
|
|||
If @var{collection} is an obarray (@pxref{Creating Symbols}), the names
|
||||
of all symbols in the obarray form the set of permissible completions.
|
||||
|
||||
If @var{collection} is a hash table, then the keys that are strings
|
||||
are the possible completions. Other keys are ignored.
|
||||
If @var{collection} is a hash table, then the keys that are strings or
|
||||
symbols are the possible completions. Other keys are ignored.
|
||||
|
||||
You can also use a function as @var{collection}. Then the function is
|
||||
solely responsible for performing completion; @code{try-completion}
|
||||
|
|
Loading…
Add table
Reference in a new issue