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

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

[elpa] master 86c1f60 10/23: company-dabbrev-code: Look inside comments


From: Dmitry Gutov
Subject: [elpa] master 86c1f60 10/23: company-dabbrev-code: Look inside comments and strings when appropriate
Date: Fri, 11 Nov 2016 22:21:41 +0000 (UTC)

branch: master
commit 86c1f608b201a2ac544736918a318af7eb4c2d93
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    company-dabbrev-code: Look inside comments and strings when appropriate
    
    When company-dabbrev-code-everywhere is non-nil.
    
    Fixes #559.
---
 company-dabbrev-code.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-dabbrev-code.el b/company-dabbrev-code.el
index 9331087..37f287c 100644
--- a/company-dabbrev-code.el
+++ b/company-dabbrev-code.el
@@ -96,7 +96,7 @@ comments or strings."
                      (`t (list major-mode))
                      (`code company-dabbrev-code-modes)
                      (`all `all))
-                   t)))
+                   (not company-dabbrev-code-everywhere))))
     (ignore-case company-dabbrev-code-ignore-case)
     (duplicates t)))
 



reply via email to

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