emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 84c66625e5e: ; Minor cleanup of python-interpreter variable


From: Stefan Kangas
Subject: master 84c66625e5e: ; Minor cleanup of python-interpreter variable
Date: Sat, 5 Oct 2024 05:48:44 -0400 (EDT)

branch: master
commit 84c66625e5ef268ec958a04eb61ba8f2beb2ea02
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Minor cleanup of python-interpreter variable
    
    * lisp/progmodes/python.el (python-interpreter)
    (python-shell-interpreter): Simplify definition.
---
 lisp/progmodes/python.el | 2 --
 1 file changed, 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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]