diff options
| author | Stefan Kangas | 2024-10-05 11:48:36 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2024-10-05 11:48:36 +0200 |
| commit | 84c66625e5ef268ec958a04eb61ba8f2beb2ea02 (patch) | |
| tree | 0b2c9ceede40a02c7067c626fe9a5d07db98bd5d /lisp/progmodes | |
| parent | 50e522123618011b742985fda941ed17e339a9aa (diff) | |
| download | emacs-84c66625e5ef268ec958a04eb61ba8f2beb2ea02.tar.gz emacs-84c66625e5ef268ec958a04eb61ba8f2beb2ea02.zip | |
; Minor cleanup of python-interpreter variable
* lisp/progmodes/python.el (python-interpreter)
(python-shell-interpreter): Simplify definition.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 173a9bc3692..c85db018eb1 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -316,7 +316,6 @@ | |||
| 316 | 316 | ||
| 317 | (defcustom python-interpreter | 317 | (defcustom python-interpreter |
| 318 | (cond ((executable-find "python") "python") | 318 | (cond ((executable-find "python") "python") |
| 319 | ((executable-find "python3") "python3") | ||
| 320 | (t "python3")) | 319 | (t "python3")) |
| 321 | "Python interpreter for noninteractive use. | 320 | "Python interpreter for noninteractive use. |
| 322 | Some Python interpreters also require changes to | 321 | Some Python interpreters also require changes to |
| @@ -2742,7 +2741,6 @@ position, else returns nil." | |||
| 2742 | 2741 | ||
| 2743 | (defcustom python-shell-interpreter | 2742 | (defcustom python-shell-interpreter |
| 2744 | (cond ((executable-find "python") "python") | 2743 | (cond ((executable-find "python") "python") |
| 2745 | ((executable-find "python3") "python3") | ||
| 2746 | (t "python3")) | 2744 | (t "python3")) |
| 2747 | "Python interpreter for interactive use. | 2745 | "Python interpreter for interactive use. |
| 2748 | 2746 | ||