summaryrefslogtreecommitdiff
path: root/lisp
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
parent1470c88c5be18d2aa0773515f50141efa21e202d (diff)
downloademacs-846e6e843efd6e26d2db8848e7d000507585258e.tar.gz
* lisp/progmodes/python.el (run-python): Use read-shell-command.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/python.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3df94a73929..845202b3931 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
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)))