From 846e6e843efd6e26d2db8848e7d000507585258e Mon Sep 17 00:00:00 2001 From: Eric Hanchrow Date: Wed, 11 Jun 2014 21:45:33 -0400 Subject: [PATCH] * lisp/progmodes/python.el (run-python): Use read-shell-command. --- lisp/ChangeLog | 4 ++++ lisp/progmodes/python.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * progmodes/python.el (run-python): Use read-shell-command. + 2014-06-11 Stefan Monnier * 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))) -- 2.39.5