]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/tab-bar.el (tab-bar-tab-name-current): Fix with buffer-name.
authorJuri Linkov <juri@linkov.net>
Mon, 14 Oct 2019 16:51:51 +0000 (19:51 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 14 Oct 2019 16:51:51 +0000 (19:51 +0300)
lisp/tab-bar.el

index 52245dd78f83f851fac708140389c2739cf56b2a..b7de64d4ae960bd2c2b8b51fc9aac549f16cde01 100644 (file)
@@ -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.