[Top][All Lists]

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

bug#30399: 27.0.50; tooltips are broken

From: martin rudalics
Subject: bug#30399: 27.0.50; tooltips are broken
Date: Sat, 10 Feb 2018 10:47:46 +0100

>> This is due to a rather silly omission which should have already
>> defeated a feature in Emacs 26 when calling 'x-show-tip' (you've
>> been warned - Lisp code should call 'tooltip-show').
> That warning sounds very bad to me.  It's vague, however,
> so forgive me if I'm overreacting.

It's up to you to ignore warnings.

> Here's a typical call:
> (x-show-tip (propertize
>                cmd-desc
>                'face
>                `(:foreground "red"
>                  :height ,showkey-tooltip-height))
>              nil
>              nil
>              showkey-tooltip-timeout)

Make sure to use (selected-frame) as second argument for Emacs < 27.
nil is broken but you might not notice it.


reply via email to

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