Skip to content

Commit 348e153

Browse files
committed
Change buffer name of REPL
1 parent cde97e2 commit 348e153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-mode-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Runs the hook `swift-repl-mode-hook' \(after the `comint-mode-hook' is run).
184184
(let* ((original-buffer (current-buffer))
185185
(cmd-string (swift-mode:command-list-to-string cmd))
186186
(cmd-list (swift-mode:command-string-to-list cmd))
187-
(buffer-name (concat "*" cmd-string "*"))
187+
(buffer-name (concat "*Swift REPL [" cmd-string "]*"))
188188
(buffer (get-buffer-create buffer-name)))
189189
(unless dont-switch
190190
(pop-to-buffer buffer))

0 commit comments

Comments
 (0)