* lisp/progmodes/python.el (run-python): Use read-shell-command.

This commit is contained in:
Eric Hanchrow 2014-06-11 21:45:33 -04:00 committed by Stefan Monnier
parent 1470c88c5b
commit 846e6e843e
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
* progmodes/python.el (run-python): Use read-shell-command.
2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
* rect.el: Make it possible to move bounds past EOL or into TABs.

View file

@ -2005,7 +2005,7 @@ process buffer for a list of commands.)"
(interactive
(if current-prefix-arg
(list
(read-string "Run Python: " (python-shell-parse-command))
(read-shell-command "Run Python: " (python-shell-parse-command))
(y-or-n-p "Make dedicated process? ")
(= (prefix-numeric-value current-prefix-arg) 4))
(list (python-shell-parse-command) nil t)))