Skip to content

Commit 55fb145

Browse files
committed
Really fix that damn message
1 parent 4a7878e commit 55fb145

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cider.el

Lines changed: 7 additions & 7 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-
(when (and session
1361-
(y-or-n-p
1362-
(concat
1363-
"A session with the same connection parameters already exists (" (car session) "). "
1364-
"Do you want to connect a sibling REPL to it instead of creating a new session? ")))
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
13651366
(let ((debug-on-quit nil))
1366-
(signal 'quit nil))))
1367-
params)
1367+
(signal 'quit nil)))))
13681368

13691369

13701370
;;; Aliases

0 commit comments

Comments
 (0)