From a76c2752f1e43a546fa2906296546cd3ca3e2ac0 Mon Sep 17 00:00:00 2001 From: "Yuri D. Lensky" Date: Mon, 2 Dec 2024 21:55:43 -0800 Subject: [PATCH] Match only JSON type connection files. --- jupyter-env.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter-env.el b/jupyter-env.el index 08e0771c..7a734a0b 100644 --- a/jupyter-env.el +++ b/jupyter-env.el @@ -166,7 +166,7 @@ The session can be used to write a connection file, see (and (process-live-p process) (goto-char (point-min)) (re-search-forward (rx "Connection file: " - (group (+ (not cntrl))) + (group (+ (not cntrl)) ".json") (* whitespace) line-end) nil t))) (let* ((conn-file (concat