aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pants.el2
1 files changed, 2 insertions, 0 deletions
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)