[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 5980de3 2/4: Disable python native completion on
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 5980de3 2/4: Disable python native completion on w32 (Bug#28580) |
Date: |
Sun, 15 Oct 2017 14:16:28 -0400 (EDT) |
branch: emacs-26
commit 5980de3727a0e80b5d70849bd2dd7054318c25d8
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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.
---
lisp/progmodes/python.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f79d9a4..895117b 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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"