Skip to content

Commit 3615263

Browse files
Move to right tab after close current buffer.
1 parent 1347a2c commit 3615263

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eaf.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,10 @@ of `eaf--buffer-app-name' inside the EAF buffer."
11231123
(defun eaf-request-kill-buffer (buffer-id)
11241124
"Function for requesting to kill the given buffer with BUFFER-ID."
11251125
(let* ((buffer (eaf-get-buffer buffer-id)))
1126-
(when buffer (kill-buffer buffer) t)))
1126+
(when buffer
1127+
(kill-buffer buffer)
1128+
(eaf-goto-right-tab)
1129+
t)))
11271130

11281131
(defun eaf--first-start (eaf-epc-port)
11291132
"Call `eaf--open-internal' upon receiving `start_finish' signal from server.

0 commit comments

Comments
 (0)