From: Lars Ingebrigtsen Date: Fri, 27 Aug 2021 02:49:57 +0000 (+0200) Subject: python-shell-interpreter doc string clarification X-Git-Tag: emacs-28.0.90~1293 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9c1bbad907575987054b8d81ac2d09bfabe6214b;p=emacs.git python-shell-interpreter doc string clarification * lisp/progmodes/python.el (python-shell-interpreter): Note what to do when using ipython3 (bug#44732). --- 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)