From c365f6b9ab67fc6ca31cbe6911e49ad4ff980c79 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Mon, 8 Sep 2014 10:51:38 -0700 Subject: [PATCH] fix(emacs/lean-company): only activate auto-completion when TAB is pressed --- src/emacs/lean-company.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emacs/lean-company.el b/src/emacs/lean-company.el index 30daffcd4..16216f4cd 100644 --- a/src/emacs/lean-company.el +++ b/src/emacs/lean-company.el @@ -14,7 +14,7 @@ (defun company-lean-hook () (set (make-local-variable 'company-backends) '(company-lean)) (setq-local company-tooltip-limit 20) ; bigger popup window - (setq-local company-idle-delay .3) ; decrease delay before autocompletion popup shows + (setq-local company-idle-delay nil) ; decrease delay before autocompletion popup shows (setq-local company-echo-delay 0) ; remove annoying blinking (setq-local company-begin-commands '(self-insert-command)) ; start autocompletion only after typing (company-mode t))