aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorNoam Postavsky2017-10-12 23:25:13 -0400
committerNoam Postavsky2017-10-15 13:58:45 -0400
commit5980de3727a0e80b5d70849bd2dd7054318c25d8 (patch)
treeee873b99d1fc01493ab18552726d2129c3f7f482 /lisp/progmodes/python.el
parent616b4c59561c63b986634d666c45a73e95fac392 (diff)
downloademacs-5980de3727a0e80b5d70849bd2dd7054318c25d8.tar.gz
emacs-5980de3727a0e80b5d70849bd2dd7054318c25d8.zip
Disable python native completion on w32 (Bug#28580)
* lisp/progmodes/python.el (python-shell-completion-native-disabled-interpreters): For windows-nt systems, put an empty string to match interpreters.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f79d9a47d31..895117b9ee3 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3304,8 +3304,9 @@ the full statement in the case of imports."
3304(defcustom python-shell-completion-native-disabled-interpreters 3304(defcustom python-shell-completion-native-disabled-interpreters
3305 ;; PyPy's readline cannot handle some escape sequences yet. Native 3305 ;; PyPy's readline cannot handle some escape sequences yet. Native
3306 ;; completion was found to be non-functional for IPython (see 3306 ;; completion was found to be non-functional for IPython (see
3307 ;; Bug#25067). 3307 ;; Bug#25067). Native completion doesn't work on w32 (Bug#28580).
3308 (list "pypy" "ipython") 3308 (if (eq system-type 'windows-nt) '("")
3309 '("pypy" "ipython"))
3309 "List of disabled interpreters. 3310 "List of disabled interpreters.
3310When a match is found, native completion is disabled." 3311When a match is found, native completion is disabled."
3311 :version "25.1" 3312 :version "25.1"