summaryrefslogtreecommitdiff
path: root/lisp/tab-bar.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-10-14 19:51:51 +0300
committerJuri Linkov <juri@linkov.net>2019-10-14 19:51:51 +0300
commit83010ae0fedf150e590eb38eadab0110946d8206 (patch)
treecfbb204fc17d6910d8601d8828e59cd407f36b88 /lisp/tab-bar.el
parent668137acfbcb71108748195078d11ac3433f1f3f (diff)
downloademacs-83010ae0fedf150e590eb38eadab0110946d8206.tar.gz
emacs-83010ae0fedf150e590eb38eadab0110946d8206.tar.bz2
emacs-83010ae0fedf150e590eb38eadab0110946d8206.zip
* lisp/tab-bar.el (tab-bar-tab-name-current): Fix with buffer-name.
Diffstat (limited to 'lisp/tab-bar.el')
-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."
(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.