branch: master
commit 7287fa703891892d38a4f9da5e688ac7da54f2fd
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    company-show-numbers-function: Improve the docstring
---
 company.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/company.el b/company.el
index 82223fb..035c7de 100644
--- a/company.el
+++ b/company.el
@@ -644,10 +644,9 @@ commands in the `company-' namespace, abort completion."
                  (const :tag "on" t)))
 
 (defcustom company-show-numbers-function #'company--show-numbers
-  "Function called to get custom quick-access numbers for the first then 
candidates.
+  "Function called to get quick-access numbers for the first ten candidates.
 
-If nil falls back to default function that generates 1...8, 9, 0. The function 
get
-the number of candidates (from 1 to 10 means 1st to 10th candidate) and should
+The function receives the candidate number (starting from 1) and should
 return a string prefixed with one space."
   :type 'function)
 

Reply via email to