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

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

[elpa] master 931e758 101/173: Fix the workaround


From: Dmitry Gutov
Subject: [elpa] master 931e758 101/173: Fix the workaround
Date: Thu, 23 Jun 2016 00:28:42 +0000 (UTC)

branch: master
commit 931e7587391dfd7f5403a604989daa66c0d9b1a9
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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 3094ea3..b840eba 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'."



reply via email to

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