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

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

[elpa] externals/company ede779d779 2/2: Merge pull request #1288 from p


From: ELPA Syncer
Subject: [elpa] externals/company ede779d779 2/2: Merge pull request #1288 from phst/non-essential
Date: Sat, 1 Jan 2022 19:57:20 -0500 (EST)

branch: externals/company
commit ede779d779ccb41a9d0568956c4388489f1e640a
Merge: 699a45ccda 452e56027e
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>

    Merge pull request #1288 from phst/non-essential
    
    Bind ‘non-essential’ when performing idle completion.
---
 company.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/company.el b/company.el
index f5894b796f..fe24af29fc 100644
--- a/company.el
+++ b/company.el
@@ -1898,9 +1898,10 @@ prefix match (same case) will be prioritized."
        (eq win (selected-window))
        (eq tick (buffer-chars-modified-tick))
        (eq pos (point))
-       (when (company-auto-begin)
-         (let ((this-command 'company-idle-begin))
-           (company-post-command)))))
+       (let ((non-essential t))
+         (when (company-auto-begin)
+           (let ((this-command 'company-idle-begin))
+             (company-post-command))))))
 
 (defun company-auto-begin ()
   (and company-mode



reply via email to

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