aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2019-10-14 19:51:51 +0300
committerJuri Linkov2019-10-14 19:51:51 +0300
commit83010ae0fedf150e590eb38eadab0110946d8206 (patch)
treecfbb204fc17d6910d8601d8828e59cd407f36b88
parent668137acfbcb71108748195078d11ac3433f1f3f (diff)
downloademacs-83010ae0fedf150e590eb38eadab0110946d8206.tar.gz
emacs-83010ae0fedf150e590eb38eadab0110946d8206.zip
* lisp/tab-bar.el (tab-bar-tab-name-current): Fix with buffer-name.
-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.