Skip to content

Commit

Permalink
fix: Refresh close buffer on the other buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jul 16, 2024
1 parent 12663a3 commit 88de5ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -579,8 +579,8 @@ current cached copy."
(defun centaur-tabs-buffer-close-tab (tab)
"Function for closing TAB."
(let ((buffer (centaur-tabs-tab-value tab)))
(with-current-buffer buffer
(kill-buffer buffer))
(kill-buffer buffer)
(centaur-tabs-buffer-update-groups)
(centaur-tabs-display-update)))

(defun centaur-tabs-get-tab-from-event (event)
Expand Down

0 comments on commit 88de5ef

Please sign in to comment.