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

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

[elpa] master 259cf40 73/78: Break idle re-starting loop


From: Dmitry Gutov
Subject: [elpa] master 259cf40 73/78: Break idle re-starting loop
Date: Sun, 18 Feb 2018 07:40:29 -0500 (EST)

branch: master
commit 259cf40baa24bd0dcb9df743248154b35f81a74e
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Break idle re-starting loop
    
    Fixes #760
---
 company.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 915f1bd..4c38b8d 100644
--- a/company.el
+++ b/company.el
@@ -829,6 +829,7 @@ means that `company-mode' is always turned on except in 
`message-mode' buffers."
   (setq this-command last-command))
 
 (global-set-key '[company-dummy-event] 'company-ignore)
+(global-set-key '[company-async-event] 'ignore)
 
 (defun company-input-noop ()
   (push 'company-dummy-event unread-command-events))
@@ -1238,7 +1239,7 @@ can retrieve meta-data for them."
          (cdr c)
          (lambda (candidates)
            (when (eq res 'none)
-             (push 'company-dummy-event unread-command-events))
+             (push 'company-async-event unread-command-events))
            (setq res candidates)))
         (while (and (eq res 'none)
                     (sit-for 0.5 t)))



reply via email to

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