]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix recent change to python-tests.el
authorkobarity <kobarity@gmail.com>
Mon, 10 Jun 2024 14:50:11 +0000 (23:50 +0900)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Jun 2024 09:26:38 +0000 (11:26 +0200)
* test/lisp/progmodes/python-tests.el
(python-tests--pythonstartup-file): Use already bound
'python-shell-interpreter'.  (Bug#70815)

(cherry picked from commit 3003d6a0c046a8f94dfb276f1856a5b298044387)

test/lisp/progmodes/python-tests.el

index 3a04550f071d7eedc203a7ab343e9a9627096c24..002a63327033f8a9534a198752e8ebd4bb97d0f2 100644 (file)
@@ -4941,7 +4941,7 @@ def foo():
   "Return Jedi readline setup file if PYTHONSTARTUP is not set."
   (or (getenv "PYTHONSTARTUP")
       (with-temp-buffer
-        (if (eql 0 (call-process (python-tests-get-shell-interpreter)
+        (if (eql 0 (call-process python-shell-interpreter
                                  nil t nil "-m" "jedi" "repl"))
             (string-trim (buffer-string))
           ""))))