Skip to content

Commit 050bf63

Browse files
committed
Try to fix the CI
1 parent 55fb145 commit 050bf63

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cider.el

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,14 +1357,14 @@ canceled the action, signal quit."
13571357
(or (null host)
13581358
(equal host (plist-get ses-params :host))))))
13591359
(sesman-current-sessions 'CIDER '(project)))))
1360-
(if (and session
1361-
(y-or-n-p
1362-
(concat
1363-
"A CIDER session with the same connection parameters already exists (" (car session) "). "
1364-
"Are you sure you want to create a new session instead of using `cider-connect-sibling-clj(s)'? ")))
1365-
params
1366-
(let ((debug-on-quit nil))
1367-
(signal 'quit nil)))))
1360+
(when session
1361+
(unless (y-or-n-p
1362+
(concat
1363+
"A CIDER session with the same connection parameters already exists (" (car session) "). "
1364+
"Are you sure you want to create a new session instead of using `cider-connect-sibling-clj(s)'? "))
1365+
(let ((debug-on-quit nil))
1366+
(signal 'quit nil)))))
1367+
params)
13681368

13691369

13701370
;;; Aliases

0 commit comments

Comments
 (0)