diff options
| author | Noam Postavsky | 2016-06-07 23:37:05 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-06-18 14:59:23 -0400 |
| commit | d1efbafdf2cad59b80981d18bb7c6cfdf4d44850 (patch) | |
| tree | ebc79a2977c7d0d51a250aab9475a4407d2ac9b6 | |
| parent | 65c96cc02598ded824a19e0c70d49d84d7fce9c7 (diff) | |
| download | emacs-d1efbafdf2cad59b80981d18bb7c6cfdf4d44850.tar.gz emacs-d1efbafdf2cad59b80981d18bb7c6cfdf4d44850.zip | |
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).
| -rw-r--r-- | doc/lispref/minibuf.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 6f41090ebea..1fa2536db4e 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -733,8 +733,8 @@ list contains elements of any other type, those are ignored. | |||
| 733 | If @var{collection} is an obarray (@pxref{Creating Symbols}), the names | 733 | If @var{collection} is an obarray (@pxref{Creating Symbols}), the names |
| 734 | of all symbols in the obarray form the set of permissible completions. | 734 | of all symbols in the obarray form the set of permissible completions. |
| 735 | 735 | ||
| 736 | If @var{collection} is a hash table, then the keys that are strings | 736 | If @var{collection} is a hash table, then the keys that are strings or |
| 737 | are the possible completions. Other keys are ignored. | 737 | symbols are the possible completions. Other keys are ignored. |
| 738 | 738 | ||
| 739 | You can also use a function as @var{collection}. Then the function is | 739 | You can also use a function as @var{collection}. Then the function is |
| 740 | solely responsible for performing completion; @code{try-completion} | 740 | solely responsible for performing completion; @code{try-completion} |