From: Stefan Kangas Date: Sat, 5 Oct 2024 09:48:36 +0000 (+0200) Subject: ; Minor cleanup of python-interpreter variable X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=988e50827852b9ffbee4968d61cc0210a0debd68;p=emacs.git ; Minor cleanup of python-interpreter variable * lisp/progmodes/python.el (python-interpreter) (python-shell-interpreter): Simplify definition. (cherry picked from commit 84c66625e5ef268ec958a04eb61ba8f2beb2ea02) --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 923bb9b8396..450eac372c3 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -299,7 +299,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 @@ -2725,7 +2724,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.