emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 6301093 023/173: Clarify the meaning of cdr in the prefix


From: Dmitry Gutov
Subject: [elpa] master 6301093 023/173: Clarify the meaning of cdr in the prefix cons
Date: Thu, 23 Jun 2016 00:28:35 +0000 (UTC)

branch: master
commit 63010937854ddef7de29c774cd2155edc5410290
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Clarify the meaning of cdr in the prefix cons
    
    #319
---
 company.el |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/company.el b/company.el
index d61245e..01e1d04 100644
--- a/company.el
+++ b/company.el
@@ -342,8 +342,9 @@ text immediately before point.  Returning nil from this 
command passes
 control to the next back-end.  The function should return `stop' if it
 should complete but cannot (e.g. if it is in the middle of a string).
 Instead of a string, the back-end may return a cons where car is the prefix
-and cdr is used in `company-minimum-prefix-length' test.  It must be either
-number or t, and in the latter case the test automatically succeeds.
+and cdr is used instead of the actual prefix length in the comparison
+against `company-minimum-prefix-length'.  It must be either number or t,
+and in the latter case the test automatically succeeds.
 
 `candidates': The second argument is the prefix to be completed.  The
 return value should be a list of candidates that match the prefix.



reply via email to

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