[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 c2db939: python.el: Support interpreter paths wit
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] emacs-24 c2db939: python.el: Support interpreter paths with spaces |
Date: |
Tue, 09 Dec 2014 01:33:12 +0000 |
branch: emacs-24
commit c2db9393595559ccddcccbb8d1a85e1167867714
Author: Fabián Ezequiel Gallina <address@hidden>
Commit: Fabián Ezequiel Gallina <address@hidden>
python.el: Support interpreter paths with spaces
Fixes: debbugs:19289
* lisp/progmodes/python.el (python-shell-parse-command): Quote
`python-shell-interpreter`.
---
lisp/ChangeLog | 5 +++++
lisp/progmodes/python.el | 3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 26b09a6..d946a2e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-09 Fabián Ezequiel Gallina <address@hidden>
+
+ * progmodes/python.el (python-shell-parse-command): Quote
+ `python-shell-interpreter`. (Bug#19289)
+
2014-12-04 Stefan Monnier <address@hidden>
* progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 521f0b5..357ca5b 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2086,7 +2086,8 @@ uniqueness for different types of configurations."
(exec-path (python-shell-calculate-exec-path)))
(format "%s %s"
;; FIXME: Why executable-find?
- (executable-find python-shell-interpreter)
+ (shell-quote-argument
+ (executable-find python-shell-interpreter))
python-shell-interpreter-args)))
(defun python-shell-calculate-process-environment ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 c2db939: python.el: Support interpreter paths with spaces,
Fabián Ezequiel Gallina <=