From 9c1bbad907575987054b8d81ac2d09bfabe6214b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 27 Aug 2021 04:49:57 +0200 Subject: [PATCH] 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 20299c20d28..d5209d8d2f1 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) -- 2.39.2