]> git.eshelyaron.com Git - emacs.git/commitdiff
Disable python native completion on w32 (Bug#28580)
authorNoam Postavsky <npostavs@gmail.com>
Fri, 13 Oct 2017 03:25:13 +0000 (23:25 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 15 Oct 2017 17:58:45 +0000 (13:58 -0400)
* lisp/progmodes/python.el
(python-shell-completion-native-disabled-interpreters): For windows-nt
systems, put an empty string to match interpreters.

lisp/progmodes/python.el

index f79d9a47d3196957b5100abf95643c059cf242d2..895117b9ee3f0716a938f159cf736bdd87104b3d 100644 (file)
@@ -3304,8 +3304,9 @@ the full statement in the case of imports."
 (defcustom python-shell-completion-native-disabled-interpreters
   ;; PyPy's readline cannot handle some escape sequences yet.  Native
   ;; completion was found to be non-functional for IPython (see
-  ;; Bug#25067).
-  (list "pypy" "ipython")
+  ;; Bug#25067).  Native completion doesn't work on w32 (Bug#28580).
+  (if (eq system-type 'windows-nt) '("")
+    '("pypy" "ipython"))
   "List of disabled interpreters.
 When a match is found, native completion is disabled."
   :version "25.1"