Skip to content

Cleanup socket repl startup. #212

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

Merged
merged 5 commits into from
Apr 8, 2023
Merged
Changes from 1 commit
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
6 changes: 4 additions & 2 deletions inf-clojure.el
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,9 @@ This should usually be a combination of `inf-clojure-prompt' and
:package-version '(inf-clojure . "2.0.0"))

(defcustom inf-clojure-auto-mode t
"When non-nil, automatically enable inf-clojure-minor-mode for all Clojure buffers."
"Automatically enable inf-clojure-minor-mode.
All buffers will automatically be in `inf-clojure-minor-mode'
unless set to nil.."
:type 'boolean
:safe #'booleanp
:package-version '(inf-clojure . "3.1.0"))
Expand Down Expand Up @@ -895,7 +897,7 @@ OUTPUT is the latest data received from the process"
(when inf-clojure-socket-callback
(funcall inf-clojure-socket-callback)))))))

(defun inf-clojure-socket-repl-sentinel (process event)
(defun inf-clojure-socket-repl-sentinel (process _event)
"Ensures socket REPL are cleaned up when the REPL buffer is closed.

PROCESS is the process object that is connected to a socket REPL.
Expand Down