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

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

[elpa] master 67e74ce 26/66: company-backends: Add "to this command"


From: Dmitry Gutov
Subject: [elpa] master 67e74ce 26/66: company-backends: Add "to this command"
Date: Tue, 13 Jan 2015 02:44:52 +0000

branch: master
commit 67e74ce4e66ebac3b456bb482afe2fb399112f7b
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-backends: Add "to this command"
---
 company.el |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/company.el b/company.el
index cc6ab79..aad2e65 100644
--- a/company.el
+++ b/company.el
@@ -340,12 +340,12 @@ The first argument is the command requested from the 
back-end.  It is one
 of the following:
 
 `prefix': The back-end should return the text to be completed.  It must be
-text immediately before point.  Returning nil 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.
+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.
 
 `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]