emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 24c4bc108da: * src/xdisp.c (note_tab_bar_highlight): Remove fallb


From: Juri Linkov
Subject: master 24c4bc108da: * src/xdisp.c (note_tab_bar_highlight): Remove fallback for help_echo_string.
Date: Mon, 9 Sep 2024 14:34:23 -0400 (EDT)

branch: master
commit 24c4bc108da43afe1ea52782202bd62648eed89a
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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).
---
 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 */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]