From 141311150ec98762dd41e614cf0b96e4177b2f73 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 9 Sep 2024 21:33:10 +0300 Subject: [PATCH] * src/xdisp.c (note_tab_bar_highlight): Remove fallback for help_echo_string. Don't use TAB_BAR_ITEM_CAPTION as the default value when TAB_BAR_ITEM_HELP is not specified (bug#73050). (cherry picked from commit 24c4bc108da43afe1ea52782202bd62648eed89a) --- src/xdisp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index f9a10267bad..18834c6b781 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -15155,8 +15155,6 @@ note_tab_bar_highlight (struct frame *f, int x, int y) help_echo_object = help_echo_window = Qnil; help_echo_pos = -1; help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); - if (NILP (help_echo_string)) - help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION); } #endif /* HAVE_WINDOW_SYSTEM */ -- 2.39.2