You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inf-clojure.el
+34-16
Original file line number
Diff line number
Diff line change
@@ -870,6 +870,9 @@ HOST is the host the process is running on, PORT is where it's listening."
870
870
"Used to transfer state between the socket process and the
871
871
inf-clojure-connect process/buffer.")
872
872
873
+
(defvar-local inf-clojure-socket-buffer nil
874
+
"Used to kill the socket buffer for a Clojure REPL with the REPL buffer is shutdown.")
875
+
873
876
(defcustominf-clojure-cli-argsnil
874
877
"Arguments to be supplied when the clojure repl type is used e.g -Mdev."
875
878
:type'string
@@ -904,21 +907,29 @@ OUTPUT is the latest data received from the process"
904
907
(when inf-clojure-socket-callback
905
908
(funcall inf-clojure-socket-callback)))))))
906
909
910
+
(defuninf-clojure-repl-sentinel (processevent)
911
+
"This function is called on update change, it is mainly used to ensure the socket a REPL was connected to is cleaned up when the REPL buffer is closed."
0 commit comments