File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -750,8 +750,9 @@ process buffer for a list of commands.)"
750750 nil
751751 'confirm-after-completion ))))
752752 (let* ((project-dir (clojure-project-dir))
753- (repl-buffer-name (if project-dir (format " *inf-clojure %s * " (inf-clojure--project-name project-dir)) " *inf-clojure*" ))
754- (comint-name (string-trim repl-buffer-name " *" " *" )))
753+ (repl-buffer-name (if project-dir
754+ (format " *inf-clojure %s * " (inf-clojure--project-name project-dir))
755+ " *inf-clojure*" )))
755756 (if (not (comint-check-proc repl-buffer-name))
756757 ; ; run the new process in the project's root when in a project folder
757758 (let ((default-directory (or project-dir default-directory))
@@ -764,7 +765,7 @@ process buffer for a list of commands.)"
764765 (inf-clojure--prompt-repl-type))))
765766 (message " Starting Clojure REPL via `%s' ... " cmd)
766767 (with-current-buffer (apply #'make-comint
767- comint-name (car cmdlist) nil (cdr cmdlist))
768+ " inf-clojure " (car cmdlist) nil (cdr cmdlist))
768769 (inf-clojure-mode)
769770 (setq-local inf-clojure-repl-type repl-type)
770771 (hack-dir-local-variables-non-file-buffer ))))
You can’t perform that action at this time.
0 commit comments