emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 d1efbaf: Fix documentation of completion function


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 d1efbaf: Fix documentation of completion functions
Date: Sat, 18 Jun 2016 19:02:59 +0000 (UTC)

branch: emacs-25
commit d1efbafdf2cad59b80981d18bb7c6cfdf4d44850
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    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).
---
 doc/lispref/minibuf.texi |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 6f41090..1fa2536 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.
 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}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]