[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 950c547 04/12: Be more accurate about when to return `stop
From: |
Dmitry Gutov |
Subject: |
[elpa] master 950c547 04/12: Be more accurate about when to return `stop' |
Date: |
Sat, 15 Jul 2017 13:36:44 -0400 (EDT) |
branch: master
commit 950c54721f85e68fd21f1e92991d597fd38685e4
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Be more accurate about when to return `stop'
https://github.com/Sarcasm/company-irony/issues/35
---
company.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company.el b/company.el
index fbf0315..386f244 100644
--- a/company.el
+++ b/company.el
@@ -341,7 +341,7 @@ of the following:
`prefix': The backend should return the text to be completed. It must be
text immediately before point. Returning nil from this command passes
control to the next backend. The function should return `stop' if it
-should complete but cannot (e.g. if it is in the middle of a string).
+should complete but cannot (e.g. when in the middle of a symbol).
Instead of a string, the backend may return a cons (PREFIX . LENGTH)
where LENGTH is a number used in place of PREFIX's length when
comparing against `company-minimum-prefix-length'. LENGTH can also
- [elpa] master updated (e9faca6 -> 89bd25a), Dmitry Gutov, 2017/07/15
- [elpa] master 950c547 04/12: Be more accurate about when to return `stop',
Dmitry Gutov <=
- [elpa] master 1fe2634 02/12: Fix #665 quick and dirty, Dmitry Gutov, 2017/07/15
- [elpa] master a5289c5 03/12: Fix backspacing into a "bad" prefix, Dmitry Gutov, 2017/07/15
- [elpa] master 9dbabd1 08/12: company-diag: Output major mode as well, Dmitry Gutov, 2017/07/15
- [elpa] master 4184494 10/12: Update NEWS, Dmitry Gutov, 2017/07/15
- [elpa] master a557460 05/12: Set company-template-nav-map as parent of company-template-field-map, Dmitry Gutov, 2017/07/15
- [elpa] master 6d80e9f 09/12: company--col-row: Disable native line numbers temporarily, Dmitry Gutov, 2017/07/15
- [elpa] master a43f944 06/12: Merge pull request #674 from ptrv/fix-company-template-field-keymap, Dmitry Gutov, 2017/07/15
- [elpa] master 6d05ca5 07/12: Remove dead code, Dmitry Gutov, 2017/07/15
- [elpa] master b753952 01/12: Add function and binding to clear template field and move to next (#660), Dmitry Gutov, 2017/07/15
- [elpa] master 89bd25a 12/12: Merge commit 'a197b072dc93dbad238f1dc70da01e3775ebfb56' from company, Dmitry Gutov, 2017/07/15