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

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

[elpa] externals/company 288a761: Try to work around the keep-prefix pro


From: ELPA Syncer
Subject: [elpa] externals/company 288a761: Try to work around the keep-prefix problem in grouped backends
Date: Wed, 13 Jan 2021 19:57:07 -0500 (EST)

branch: externals/company
commit 288a7617c4c3e5f22a887a17a697ac2bfe4e567d
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Try to work around the keep-prefix problem in grouped backends
    
    Fixes #1051, fixes #584.
---
 company.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/company.el b/company.el
index c20475e..e5a421e 100644
--- a/company.el
+++ b/company.el
@@ -1033,6 +1033,9 @@ matches IDLE-BEGIN-AFTER-RE, return it wrapped in a cons."
          (cl-dolist (backend backends)
            (when (setq value (company--force-sync
                               backend (cons command args) backend))
+             (when (and (eq command 'ignore-case)
+                        (eq value 'keep-prefix))
+               (setq value t))
              (cl-return value)))))
       (_
        (let ((arg (car args)))



reply via email to

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