summaryrefslogtreecommitdiff
path: root/nrepl-client.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-07-19 13:45:10 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2018-07-19 13:45:10 +0300
commitdbe38a70d714e588db046be2e5594436421a294d (patch)
tree988dd7dca0a241b7f5d1136d44c17b108a3baa6c /nrepl-client.el
parent82d379c2c5be5bf061931ed29bf95b3cf5440c14 (diff)
Fix the regular expression used to extract the nREPL port number on
jack-in This was changed accidentally a while ago and continued to work on pure magic. :D
Diffstat (limited to 'nrepl-client.el')
-rw-r--r--nrepl-client.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nrepl-client.el b/nrepl-client.el
index 8415a600..a73f200b 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -1063,7 +1063,7 @@ been determined."
(set-window-point win (point)))))
;; detect the port the server is listening on from its output
(when (and (null nrepl-endpoint)
- (string-match "[nREPL] Server started on port \\([0-9]+\\)" output))
+ (string-match "nREPL server started on port \\([0-9]+\\)" output))
(let ((port (string-to-number (match-string 1 output))))
(setq nrepl-endpoint (list :host nil :port port))
(message "[nREPL] server started on %s" port)