branch: master commit 950c54721f85e68fd21f1e92991d597fd38685e4 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
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