From 6a42535ffa89f8501b7d41416bd03e39c9662b0e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 11 Nov 2016 16:05:34 -0800 Subject: Fix the configuration for the Python REPL. --- pants.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pants.el b/pants.el index 13a9a82..c1834e9 100644 --- a/pants.el +++ b/pants.el @@ -90,6 +90,8 @@ (set (make-local-variable 'python-shell-exec-path) '(pants-source-tree-root)) (set (make-local-variable 'python-shell-interpreter) pants-source-tree-root) (set (make-local-variable 'python-shell-interpreter-args) pants-repl-command) + (set (make-local-variable 'python-shell-prompt-detect-failure-warning) nil) + (run-python pants-repl-command t) (python-shell-switch-to-shell))) (defun pants--build-action (target) -- cgit 1.4.1