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

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

[elpa] externals/company 452e56027e 1/2: Bind ‘non-essential’ when perf


From: ELPA Syncer
Subject: [elpa] externals/company 452e56027e 1/2: Bind ‘non-essential’ when performing idle completion.
Date: Sat, 1 Jan 2022 19:57:20 -0500 (EST)

branch: externals/company
commit 452e56027e368c298f6bd64136e6b34f212ab887
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>

    Bind ‘non-essential’ when performing idle completion.
    
    Idle completion isn’t a direct response to a user action, so I believe 
marking
    it as non-essential is justified.
---
 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]