]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xdisp.c (note_tab_bar_highlight): Remove fallback for help_echo_string.
authorJuri Linkov <juri@linkov.net>
Mon, 9 Sep 2024 18:33:10 +0000 (21:33 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 14 Sep 2024 20:20:10 +0000 (22:20 +0200)
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

index f9a10267bad83fed3bef5b3ce870943e62552d75..18834c6b7819f56883a35b8f7b6e72a64034bda3 100644 (file)
@@ -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 */