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

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

[elpa] master da9b108 104/173: Refine the workaround further


From: Dmitry Gutov
Subject: [elpa] master da9b108 104/173: Refine the workaround further
Date: Thu, 23 Jun 2016 00:28:42 +0000 (UTC)

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

    Refine the workaround further
    
    Fixes #443
---
 company-capf.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company-capf.el b/company-capf.el
index 2f2fba1..635dace 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -58,7 +58,8 @@
 
 (defun company--capf-workaround ()
   ;; For http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18067
-  (if (or (not (memq 'python-completion-complete-at-point 
completion-at-point-functions))
+  (if (or (not (listp completion-at-point-functions))
+          (not (memq 'python-completion-complete-at-point 
completion-at-point-functions))
           (python-shell-get-process))
       completion-at-point-functions
     (remq 'python-completion-complete-at-point completion-at-point-functions)))



reply via email to

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