[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51561: 29.0.50; overlay keymaps do not respect mouse-1 logic
From: |
Lars Ingebrigtsen |
Subject: |
bug#51561: 29.0.50; overlay keymaps do not respect mouse-1 logic |
Date: |
Tue, 02 Nov 2021 03:48:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Putting follow-link in a keymap is supposed to make
> mouse-1-click-follows-link do its thing.
No, it isn't. You have to put this incantation into an overlay for it
to be a link. Which is slightly logical, I guess?
(overlay-put o 'follow-link 'mouse-face)
(overlay-put o 'mouse-face 'highlight)
So there's nothing to fix here, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no