Skip to content

Commit 56c6b63

Browse files
committed
some fixes proposed by dpc@
1 parent 47a655f commit 56c6b63

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

cody.el

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ If nil, Cody will search for node using variable `exec-path'."
128128
(defcustom cody-max-workspaces 1
129129
"Maximum number of active workspace connections Cody will create.
130130
Each workspace connection spins up its own Cody agent subprocess.
131-
You can view all Cody workspaces with `cody-dashboard'.")
131+
You can view all Cody workspaces with `cody-dashboard'."
132+
:type 'number
133+
:group 'cody-dev)
132134

133135
(defcustom cody-use-remote-agent nil
134136
"Non-nil to connect to an agent running on `cody--dev-remote-agent-port`.
@@ -399,9 +401,6 @@ Argument CC is the completion object."
399401
"dist" "index.js")
400402
"Path to bundled cody agent.")
401403

402-
(defconst cody-node-min-version "20.4.0"
403-
"The minimum required version of node.js for Cody.")
404-
405404
;; It might seem odd to have a separate Node process for each workspace,
406405
;; but it makes things more flexible in general; e.g. integration testing
407406
;; without interfering with your normal Cody session, or hitting dev backends.
@@ -1621,7 +1620,7 @@ This function is idempotent and only starts a new connection if needed."
16211620
(if (not (cody--alive-p))
16221621
(progn
16231622
(message "Cody failed to connect. See *cody-log* for details.")
1624-
(cody-log "***** Cody login failed *****"))
1623+
(cody--log "***** Cody login failed *****"))
16251624
(let ((workspace-root (cody--workspace-root)))
16261625
(cody--enable-for-workspace-buffers workspace-root)
16271626
(message "Cody is now tracking %s" workspace-root))))

0 commit comments

Comments
 (0)