From 83010ae0fedf150e590eb38eadab0110946d8206 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 14 Oct 2019 19:51:51 +0300 Subject: [PATCH] * lisp/tab-bar.el (tab-bar-tab-name-current): Fix with buffer-name. --- lisp/tab-bar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 52245dd78f8..b7de64d4ae9 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -271,7 +271,7 @@ from all windows in the window configuration." (defun tab-bar-tab-name-current () "Generate tab name from the buffer of the selected window." - (window-buffer (minibuffer-selected-window))) + (buffer-name (window-buffer (minibuffer-selected-window)))) (defun tab-bar-tab-name-current-with-count () "Generate tab name from the buffer of the selected window. -- 2.39.5