File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -750,9 +750,11 @@ 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
754- (format " *inf-clojure %s * " (inf-clojure--project-name project-dir))
755- " *inf-clojure*" )))
753+ (process-buffer-name (if project-dir
754+ (format " inf-clojure %s " (inf-clojure--project-name project-dir))
755+ " inf-clojure" ))
756+ ; ; comint adds the asterisks to both sides
757+ (repl-buffer-name (format " *%s * " process-buffer-name)))
756758 ; ; Create a new comint buffer if needed
757759 (unless (comint-check-proc repl-buffer-name)
758760 ; ; run the new process in the project's root when in a project folder
@@ -766,7 +768,7 @@ process buffer for a list of commands.)"
766768 (inf-clojure--prompt-repl-type))))
767769 (message " Starting Clojure REPL via `%s' ... " cmd)
768770 (with-current-buffer (apply #'make-comint
769- " inf-clojure " (car cmdlist) nil (cdr cmdlist))
771+ process-buffer-name (car cmdlist) nil (cdr cmdlist))
770772 (inf-clojure-mode)
771773 (setq-local inf-clojure-repl-type repl-type)
772774 (hack-dir-local-variables-non-file-buffer ))))
You can’t perform that action at this time.
0 commit comments