mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Merge pull request #4675 from samspills/scala-open-repl
+scala/open-repl don't kill non-existant sbt buffer
This commit is contained in:
@ -41,7 +41,7 @@ Meant to be used for `scala-mode's `comment-line-break-function'."
|
||||
(if (and (require 'sbt-mode nil t)
|
||||
(sbt:find-root))
|
||||
(let ((buffer-name (sbt:buffer-name)))
|
||||
(unless (comint-check-proc buffer-name)
|
||||
(when (and (get-buffer buffer-name) (not (comint-check-proc buffer-name)))
|
||||
(kill-buffer buffer-name))
|
||||
(run-scala)
|
||||
(get-buffer buffer-name))
|
||||
|
Reference in New Issue
Block a user