emacs-devel
[Top][All Lists]
Advanced

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

Re: add tab-line-close-other function


From: Juri Linkov
Subject: Re: add tab-line-close-other function
Date: Tue, 27 May 2025 21:11:56 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>> In emacs 30.1, I tried your function with M-x and
>> `tab-line-close-other-tabs`  but does not work and gives error:
>>
>> let*: Args out of range: 0, 0
>>
>> If I override the function tab-line-tab-context-menu with the new one,
>> works when I right click (with mouse) on tab, I see the close other tab in
>> that context menu 🙂
>>
>> Ah, so you need `M-x tab-line-close-other-tabs` as well.
>> Ok, I think this is doable.  But first we need to change
>> its old counterpart command `tab-line-close-tab` to be
>> callable by M-x too, not only by the mouse.
>
> Yes! I want to have ways of avoid mouse usage :)

Now `M-x tab-line-close-other-tabs` works as well.



reply via email to

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