emacs-devel
[Top][All Lists]
Advanced

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

RE: [External] : Re: master 5743b74d4b 1/2: Improve mouse dragging


From: Drew Adams
Subject: RE: [External] : Re: master 5743b74d4b 1/2: Improve mouse dragging
Date: Thu, 12 May 2022 15:49:02 +0000

> We used to use `tooltip-show' directly in Emacs 28, but that function
> modifies the text properties of `text-tooltip', which caused mouse
> dragging to drag along some undesirable text properties.

Use `x-show-tip'.  Specify whatever you like.

E.g.:
(x-show-tip (propertize STRING 'face FACE-YOU-WANT)
            nil
            nil
            TIMEOUT-YOU-WANT)

Or bind the relevant variable(s) around a call to
`tooltip-show', if you like to jump through hoops
and you really don't want to call `x-show-tip'.




reply via email to

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