]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix the workaround
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 30 Dec 2015 12:27:25 +0000 (14:27 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 30 Dec 2015 12:27:25 +0000 (14:27 +0200)
#440

company-capf.el

index 3094ea35011055420deaa75e9a0b6e94f8d684ba..b840eba951897b61bfec31e2f8dd96755e4987c6 100644 (file)
 
 (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'."