branch: elpa/swift-mode
commit 348e1539775a118f82533b5c5999054ad6b79a1d
Author: taku0 <mxxouy6x3m_git...@tatapa.org>
Commit: taku0 <mxxouy6x3m_git...@tatapa.org>

    Change buffer name of REPL
---
 swift-mode-repl.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swift-mode-repl.el b/swift-mode-repl.el
index 3e4d08b..9f0c2db 100644
--- a/swift-mode-repl.el
+++ b/swift-mode-repl.el
@@ -184,7 +184,7 @@ Runs the hook `swift-repl-mode-hook' \(after the 
`comint-mode-hook' is run).
   (let* ((original-buffer (current-buffer))
          (cmd-string (swift-mode:command-list-to-string cmd))
          (cmd-list (swift-mode:command-string-to-list cmd))
-         (buffer-name (concat "*" cmd-string "*"))
+         (buffer-name (concat "*Swift REPL [" cmd-string "]*"))
          (buffer (get-buffer-create buffer-name)))
     (unless dont-switch
       (pop-to-buffer buffer))

Reply via email to