emacs-diffs
[Top][All Lists]
Advanced

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

master 9c1bbad: python-shell-interpreter doc string clarification


From: Lars Ingebrigtsen
Subject: master 9c1bbad: python-shell-interpreter doc string clarification
Date: Thu, 26 Aug 2021 22:50:14 -0400 (EDT)

branch: master
commit 9c1bbad907575987054b8d81ac2d09bfabe6214b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    python-shell-interpreter doc string clarification
    
    * lisp/progmodes/python.el (python-shell-interpreter): Note what
    to do when using ipython3 (bug#44732).
---
 lisp/progmodes/python.el | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 20299c2..d5209d8 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2022,7 +2022,12 @@ position, else returns nil."
   (cond ((executable-find "python3") "python3")
         ((executable-find "python") "python")
         (t "python3"))
-  "Default Python interpreter for shell."
+  "Default Python interpreter for shell.
+
+Some Python interpreters also require changes to
+`python-shell-interpreter-args'.  In particular, setting
+`python-shell-interpreter' to \"ipython3\" requires setting
+`python-shell-interpreter-args' to \"--simple-prompt\"."
   :version "28.1"
   :type 'string
   :group 'python)



reply via email to

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