]> rtime.felk.cvut.cz Git - sojka/company-mode.git/commitdiff
Added reference to company-show-numbers in company-complete-number.
authorNikolaj Schumacher <git@nschum.de>
Tue, 14 Apr 2009 18:43:50 +0000 (20:43 +0200)
committerNikolaj Schumacher <git@nschum.de>
Wed, 15 Apr 2009 08:11:26 +0000 (10:11 +0200)
company.el

index 8bff9deeccb611b32b7eb2ea9c825b3c69607b1c..05a7d0466c341ec946a60fa392ec774f35e13b6a 100644 (file)
@@ -1118,7 +1118,9 @@ when the selection has been changed, the selected candidate is completed."
       (setq this-command 'company-complete-common))))
 
 (defun company-complete-number (n)
-  "Complete the Nth candidate."
+  "Complete the Nth candidate.
+To show the number next to the candidates in some back-ends, enable
+`company-show-numbers'."
   (when (company-manual-begin)
     (and (< n 1) (> n company-candidates-length)
          (error "No candidate number %d" n))