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

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

[elpa] 49/52: company-backends: add better introduction


From: Dmitry Gutov
Subject: [elpa] 49/52: company-backends: add better introduction
Date: Tue, 01 Jul 2014 11:53:34 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit bbaa888ef2b63b2b2d70f04194e7e00798fc67ec
Author: Dmitry Gutov <address@hidden>
Date:   Sat Jun 28 06:14:33 2014 +0300

    company-backends: add better introduction
    
    #115
---
 company.el |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/company.el b/company.el
index ccb82ab..9c4e616 100644
--- a/company.el
+++ b/company.el
@@ -329,6 +329,11 @@ This doesn't include the margins and the scroll bar."
                               company-oddmuse company-files company-dabbrev)
   "The list of active back-ends (completion engines).
 
+Only one back-end is used at a time.  The choice depends on the order of
+the items in this list, and on the values they return in response to the
+`prefix' command (see below).  But a back-end can also be a \"grouped\"
+one (see below).
+
 `company-begin-backend' can be used to start a specific back-end,
 `company-other-backend' will skip to the next matching back-end in the list.
 
@@ -339,7 +344,7 @@ 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,
+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.



reply via email to

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