summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2024-10-05 11:48:36 +0200
committerStefan Kangas <stefankangas@gmail.com>2024-10-05 11:48:36 +0200
commit84c66625e5ef268ec958a04eb61ba8f2beb2ea02 (patch)
tree0b2c9ceede40a02c7067c626fe9a5d07db98bd5d /lisp/progmodes/python.el
parent50e522123618011b742985fda941ed17e339a9aa (diff)
; Minor cleanup of python-interpreter variable
* lisp/progmodes/python.el (python-interpreter) (python-shell-interpreter): Simplify definition.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
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 @@
(defcustom python-interpreter
(cond ((executable-find "python") "python")
- ((executable-find "python3") "python3")
(t "python3"))
"Python interpreter for noninteractive use.
Some Python interpreters also require changes to
@@ -2742,7 +2741,6 @@ position, else returns nil."
(defcustom python-shell-interpreter
(cond ((executable-find "python") "python")
- ((executable-find "python3") "python3")
(t "python3"))
"Python interpreter for interactive use.