[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.
- [elpa] master ea5c4fd 05/66: More cleanup, (continued)
- [elpa] master ea5c4fd 05/66: More cleanup, Dmitry Gutov, 2015/01/12
- [elpa] master b188c49 07/66: Inline company-cmake--find-match, Dmitry Gutov, 2015/01/12
- [elpa] master 556ee69 16/66: Bump the version for development, Dmitry Gutov, 2015/01/12
- [elpa] master ccc08c9 08/66: Eliminate one `setq', Dmitry Gutov, 2015/01/12
- [elpa] master ed86ad5 20/66: company-update-candidates: Fix WRT ignore-case, Dmitry Gutov, 2015/01/12
- [elpa] master abf95f7 19/66: company-update-candidates: Don't be fooled by a few prefix completions, Dmitry Gutov, 2015/01/12
- [elpa] master 98477e7 21/66: Reword comment, Dmitry Gutov, 2015/01/12
- [elpa] master 660cafc 22/66: company-input-noop: Use a symbol for the dummy event binding, Dmitry Gutov, 2015/01/12
- [elpa] master 7d3c5d4 23/66: company-backends: Clarify that responding to `match' is never mandatory, Dmitry Gutov, 2015/01/12
- [elpa] master bb0badd 25/66: Edit NEWS, Dmitry Gutov, 2015/01/12
- [elpa] master 67e74ce 26/66: company-backends: Add "to this command",
Dmitry Gutov <=
- [elpa] master 0cdcd07 27/66: company-capf: Pass `sole' or 'finished' to exit-function, not `exact', Dmitry Gutov, 2015/01/12
- [elpa] master cecf6a9 29/66: company--window-width: Make it a defun, Dmitry Gutov, 2015/01/12
- [elpa] master 8196ff6 30/66: Work around http://debbugs.gnu.org/18384, Dmitry Gutov, 2015/01/12
- [elpa] master 62d1f37 28/66: company-clang--start-process: Bind process-adaptive-read-buffering to nil, Dmitry Gutov, 2015/01/12
- [elpa] master 3b622c4 31/66: Define customize group for company-bbdb, Dmitry Gutov, 2015/01/12
- [elpa] master e7073a1 33/66: s/`bbdb'/BBDB, Dmitry Gutov, 2015/01/12
- [elpa] master 996fbd2 24/66: Add company-bbdb-modes defcustom, Dmitry Gutov, 2015/01/12
- [elpa] master 8d61f1b 35/66: company-semantic: add simple annotations, Dmitry Gutov, 2015/01/12
- [elpa] master ed97b73 34/66: company--insert-candidate: Don't change buffer modification status unnecessarily, Dmitry Gutov, 2015/01/12
- [elpa] master 6d023fd 36/66: Add NEWS entry, Dmitry Gutov, 2015/01/12