diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-11-11 16:05:34 -0800 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-11-11 16:05:34 -0800 |
commit | 6a42535ffa89f8501b7d41416bd03e39c9662b0e (patch) | |
tree | 98568478d6c3da0d08adc221fcb4fd9e8f5f0baa | |
parent | Pass the targets instead of the BUILD file to `pants--complete-read' (diff) | |
download | pants.el-6a42535ffa89f8501b7d41416bd03e39c9662b0e.tar.gz |
Fix the configuration for the Python REPL.
-rw-r--r-- | pants.el | 2 |
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) |