Skip to content

Commit d458e8a

Browse files
Yuri D. LenskyYuri D. Lensky
authored andcommitted
Match only JSON type connection files.
1 parent 61036b6 commit d458e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter-env.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ The session can be used to write a connection file, see
166166
(and (process-live-p process)
167167
(goto-char (point-min))
168168
(re-search-forward (rx "Connection file: "
169-
(group (+ (not cntrl)))
169+
(group (+ any) ".json")
170170
(* whitespace) line-end)
171171
nil t)))
172172
(let* ((conn-file (concat

0 commit comments

Comments
 (0)