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

[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



reply via email to

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