bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#50256: thing-at-mouse


From: Juri Linkov
Subject: bug#50256: thing-at-mouse
Date: Sun, 12 Sep 2021 20:12:21 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> In bug#50067 you suggested to add a new arg with the click event
> to all context menu functions.  This will make code more readable:
>
>   (defun context-menu-dictionary (menu click)
>     (when (thing-at-mouse click 'word)
>
> so I will change the call to provide the arg from last-input-event,
> and maybe later it will be possible to acquire the same event
> more directly, not from last-input-event, and all callers will get it.

So now a new arg 'click' was added to all context-menu-functions.





reply via email to

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