@@ -230,6 +230,26 @@ often connecting to a remote REPL process."
230
230
:safe #'inf-clojure--endpoint-p
231
231
:package-version '(inf-clojure . " 2.0.0" ))
232
232
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
+
233
253
(defvar-local inf-clojure-repl-type nil
234
254
" Symbol to define your REPL type.
235
255
Its root binding is nil and it can be further customized using
@@ -1067,8 +1087,7 @@ output from and including the `inf-clojure-prompt`."
1067
1087
(sanitized-command (inf-clojure--sanitize-command command)))
1068
1088
(when (not (string-empty-p sanitized-command))
1069
1089
(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)
1072
1091
(erase-buffer )
1073
1092
(comint-redirect-send-command-to-process sanitized-command work-buffer process nil t )
1074
1093
; ; Wait for the process to complete
@@ -1382,26 +1401,6 @@ Note that this function will add a \n to the end of the string
1382
1401
for evaluation, therefore FORM should not include it."
1383
1402
(funcall match-p (inf-clojure--process-response form proc nil )))
1384
1403
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
-
1405
1404
(provide 'inf-clojure )
1406
1405
1407
1406
; ; Local variables:
0 commit comments