aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/tab-bar.el2
1 files changed, 1 insertions, 1 deletions
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."
271 271
272(defun tab-bar-tab-name-current () 272(defun tab-bar-tab-name-current ()
273 "Generate tab name from the buffer of the selected window." 273 "Generate tab name from the buffer of the selected window."
274 (window-buffer (minibuffer-selected-window))) 274 (buffer-name (window-buffer (minibuffer-selected-window))))
275 275
276(defun tab-bar-tab-name-current-with-count () 276(defun tab-bar-tab-name-current-with-count ()
277 "Generate tab name from the buffer of the selected window. 277 "Generate tab name from the buffer of the selected window.