dgutov pushed a commit to branch master
in repository elpa.

commit 59009c70a71ed1fc3e665a3f1d9e846467dff6d3
Author: Ingo Lohmar <i.loh...@gmail.com>
Date:   Sun Mar 23 11:46:19 2014 +0100

    Use company-dabbrev-code-ignore-case when finding candidates
---
 company-dabbrev-code.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company-dabbrev-code.el b/company-dabbrev-code.el
index ff47390..6f827cd 100644
--- a/company-dabbrev-code.el
+++ b/company-dabbrev-code.el
@@ -87,7 +87,7 @@ comments or strings."
                  (or company-dabbrev-code-everywhere
                      (not (company-in-string-or-comment)))
                  (or (company-grab-symbol) 'stop)))
-    (candidates (let ((case-fold-search nil))
+    (candidates (let ((case-fold-search company-dabbrev-code-ignore-case))
                   (company-dabbrev--search
                    (company-dabbrev-code--make-regexp arg)
                    company-dabbrev-code-time-limit

Reply via email to