From fddaf8e52b367ca96702748a630960618a775275 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Thu, 16 May 2024 12:08:28 -0400 Subject: [PATCH] document the ipython-detection timeout --- python-vterm.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-vterm.el b/python-vterm.el index c39319b..7c2c138 100644 --- a/python-vterm.el +++ b/python-vterm.el @@ -128,7 +128,10 @@ If SESSION-NAME is not given, the default session name `main' is assumed." (defun python-vterm--launch (ses-name env context) "Launch a new Python REPL buffer with SES-NAME and ENV. -If CONTEXT is given, it is used to set the working directory and the script buffer." +If CONTEXT is given, it is used to set the working directory and +the script buffer. It is also attempted to detect whether the +python interpreter is ipython. This times out after +`python-vterm-repl-launch-timeout' seconds." (let ((new-buffer (generate-new-buffer (python-vterm-repl-buffer-name ses-name))) (vterm-shell python-vterm-repl-program)