aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov2024-09-09 21:33:10 +0300
committerJuri Linkov2024-09-09 21:33:10 +0300
commit24c4bc108da43afe1ea52782202bd62648eed89a (patch)
tree48b646a584872dd8beacc6f5486ed0e376855e1a /src
parent466db35877281ce2d5c2a5804e16d9401017d766 (diff)
downloademacs-24c4bc108da43afe1ea52782202bd62648eed89a.tar.gz
emacs-24c4bc108da43afe1ea52782202bd62648eed89a.zip
* 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).
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 0 insertions, 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)
15155 help_echo_object = help_echo_window = Qnil; 15155 help_echo_object = help_echo_window = Qnil;
15156 help_echo_pos = -1; 15156 help_echo_pos = -1;
15157 help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP); 15157 help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_HELP);
15158 if (NILP (help_echo_string))
15159 help_echo_string = AREF (f->tab_bar_items, prop_idx + TAB_BAR_ITEM_CAPTION);
15160} 15158}
15161 15159
15162#endif /* HAVE_WINDOW_SYSTEM */ 15160#endif /* HAVE_WINDOW_SYSTEM */