Skip to content

Commit

Permalink
Match only JSON type connection files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri D. Lensky authored and Yuri D. Lensky committed Dec 3, 2024
1 parent 61036b6 commit a76c275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter-env.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a76c275

Please sign in to comment.