aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-08-27 04:49:57 +0200
committerLars Ingebrigtsen2021-08-27 04:49:57 +0200
commit9c1bbad907575987054b8d81ac2d09bfabe6214b (patch)
treef1cff348c7a44158e161c7a5eb272fe1e4135e3b /lisp/progmodes/python.el
parentcc5b6cb6bcc63d447663e1e98b05b7a16bd27f99 (diff)
downloademacs-9c1bbad907575987054b8d81ac2d09bfabe6214b.tar.gz
emacs-9c1bbad907575987054b8d81ac2d09bfabe6214b.zip
python-shell-interpreter doc string clarification
* lisp/progmodes/python.el (python-shell-interpreter): Note what to do when using ipython3 (bug#44732).
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el7
1 files changed, 6 insertions, 1 deletions
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."
2022 (cond ((executable-find "python3") "python3") 2022 (cond ((executable-find "python3") "python3")
2023 ((executable-find "python") "python") 2023 ((executable-find "python") "python")
2024 (t "python3")) 2024 (t "python3"))
2025 "Default Python interpreter for shell." 2025 "Default Python interpreter for shell.
2026
2027Some Python interpreters also require changes to
2028`python-shell-interpreter-args'. In particular, setting
2029`python-shell-interpreter' to \"ipython3\" requires setting
2030`python-shell-interpreter-args' to \"--simple-prompt\"."
2026 :version "28.1" 2031 :version "28.1"
2027 :type 'string 2032 :type 'string
2028 :group 'python) 2033 :group 'python)