@@ -230,6 +230,26 @@ often connecting to a remote REPL process."
230230 :safe #'inf-clojure--endpoint-p
231231 :package-version '(inf-clojure . " 2.0.0" ))
232232
233+ ; ;;; Lumo
234+ ; ;;; ====
235+
236+ (defcustom inf-clojure--lumo-repl-form
237+ " (find-ns 'lumo.repl)"
238+ " Form to invoke in order to verify that we launched a Lumo REPL."
239+ :type 'string
240+ :safe #'stringp
241+ :package-version '(inf-clojure . " 2.0.0" ))
242+
243+ ; ;;; Planck
244+ ; ;;; ====
245+
246+ (defcustom inf-clojure--planck-repl-form
247+ " (find-ns 'planck.repl)"
248+ " Form to invoke in order to verify that we launched a Planck REPL."
249+ :type 'string
250+ :safe #'stringp
251+ :package-version '(inf-clojure . " 2.0.0" ))
252+
233253(defvar-local inf-clojure-repl-type nil
234254 " Symbol to define your REPL type.
235255Its root binding is nil and it can be further customized using
@@ -1067,8 +1087,7 @@ output from and including the `inf-clojure-prompt`."
10671087 (sanitized-command (inf-clojure--sanitize-command command)))
10681088 (when (not (string-empty-p sanitized-command))
10691089 (inf-clojure--log-string command " ----CMD->" )
1070- (save-excursion
1071- (set-buffer (get-buffer-create work-buffer))
1090+ (with-current-buffer (get-buffer-create work-buffer)
10721091 (erase-buffer )
10731092 (comint-redirect-send-command-to-process sanitized-command work-buffer process nil t )
10741093 ; ; Wait for the process to complete
@@ -1382,26 +1401,6 @@ Note that this function will add a \n to the end of the string
13821401for evaluation, therefore FORM should not include it."
13831402 (funcall match-p (inf-clojure--process-response form proc nil )))
13841403
1385- ; ;;; Lumo
1386- ; ;;; ====
1387-
1388- (defcustom inf-clojure--lumo-repl-form
1389- " (find-ns 'lumo.repl)"
1390- " Form to invoke in order to verify that we launched a Lumo REPL."
1391- :type 'string
1392- :safe #'stringp
1393- :package-version '(inf-clojure . " 2.0.0" ))
1394-
1395- ; ;;; Planck
1396- ; ;;; ====
1397-
1398- (defcustom inf-clojure--planck-repl-form
1399- " (find-ns 'planck.repl)"
1400- " Form to invoke in order to verify that we launched a Planck REPL."
1401- :type 'string
1402- :safe #'stringp
1403- :package-version '(inf-clojure . " 2.0.0" ))
1404-
14051404(provide 'inf-clojure )
14061405
14071406; ; Local variables:
0 commit comments