From 931e7587391dfd7f5403a604989daa66c0d9b1a9 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Wed, 30 Dec 2015 14:27:25 +0200 Subject: [PATCH] Fix the workaround #440 --- company-capf.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/company-capf.el b/company-capf.el index 3094ea350..b840eba95 100644 --- a/company-capf.el +++ b/company-capf.el @@ -56,10 +56,10 @@ (defun company--capf-workaround () ;; For http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18067 - (if (or (not (memq 'python-completion-at-point completion-at-point-functions)) + (if (or (not (memq 'python-completion-complete-at-point completion-at-point-functions)) (python-shell-get-process)) completion-at-point-functions - (remq 'python-completion-at-point completion-at-point-functions))) + (remq 'python-completion-complete-at-point completion-at-point-functions))) (defun company-capf (command &optional arg &rest _args) "`company-mode' backend using `completion-at-point-functions'." -- 2.39.2