Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix common lisp client (closes #311 ) #313

Merged
merged 1 commit into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fnl/conjure/client/common-lisp/swank.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
(let [conn (state :conn)]
(if conn
(f conn)
(log.append ("; No connection")))))
(log.append "; No connection"))))

(defn- connected? []
(if (state :conn)
Expand Down
5 changes: 3 additions & 2 deletions lua/conjure/client/common-lisp/swank.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ local function with_conn_or_warn(f, opts)
if conn then
return f(conn)
else
return log.append(("; No connection")())
return log.append("; No connection")
end
end
_2amodule_locals_2a["with-conn-or-warn"] = with_conn_or_warn
Expand Down Expand Up @@ -270,4 +270,5 @@ _2amodule_2a["on-load"] = on_load
local function on_exit()
return disconnect()
end
_2amodule_2a["on-exit"] = on_exit
_2amodule_2a["on-exit"] = on_exit
return _2amodule_2a