]> git.eshelyaron.com Git - emacs.git/commit
Fix bad quoting of python-shell-interpreter
authorNoam Postavsky <npostavs@gmail.com>
Fri, 9 Dec 2016 05:14:48 +0000 (00:14 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 9 Dec 2016 05:14:48 +0000 (00:14 -0500)
commit8f611e5e2309ae3f7f1753f0d2f7a60ca6fc2657
tree98d30cadb7d74acc7a939b5bc88687b0ed562d9a
parent7f106f48e9c35eb75e5f06181e93d481988f8527
Fix bad quoting of python-shell-interpreter

`python-shell-calculate-command' was using `shell-quote-argument' as if
it was generating a shell command, but its callers don't pass the result
to a shell, and they expect to parse it with `split-string-and-unquote'.
This caused problems depending on the flavor of shell quoting in
effect (Bug#25025).

* lisp/progmodes/python.el (python-shell-calculate-command): Use
`combine-and-quote-strings' to quote the interpreter, so that it can be
parsed by `python-shell-make-comint' successfully using
`split-string-and-unquote'.
lisp/progmodes/python.el