summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorEric Hanchrow <eric.hanchrow@gmail.com>2014-06-11 21:45:33 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-06-11 21:45:33 -0400
commit846e6e843efd6e26d2db8848e7d000507585258e (patch)
treea8187ca84e6a632665f2b969f01a525c20caa910 /lisp/progmodes/python.el
parent1470c88c5be18d2aa0773515f50141efa21e202d (diff)
downloademacs-846e6e843efd6e26d2db8848e7d000507585258e.tar.gz
* lisp/progmodes/python.el (run-python): Use read-shell-command.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 436442da2d0..79fbe7faa27 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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)))