Make python-execute-file use python-shell-interpreter
So that we can customize to use `python3` instead of `python`
This commit is contained in:
parent
6dac3425b6
commit
ea54e6863e
|
@ -333,7 +333,9 @@
|
|||
;; set compile command to buffer-file-name
|
||||
;; universal argument put compile buffer in comint mode
|
||||
(let ((universal-argument t)
|
||||
(compile-command (format "python %s" (file-name-nondirectory
|
||||
(compile-command (format "%s %s"
|
||||
python-shell-interpreter
|
||||
(file-name-nondirectory
|
||||
buffer-file-name))))
|
||||
(if arg
|
||||
(call-interactively 'compile)
|
||||
|
|
Loading…
Reference in a new issue