emacs-devel
[Top][All Lists]
Advanced

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

Re: master 47dcf72: Fix tooltip text properties showing up in dragged te


From: Eli Zaretskii
Subject: Re: master 47dcf72: Fix tooltip text properties showing up in dragged text
Date: Wed, 16 Mar 2022 15:42:16 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: emacs-devel@gnu.org
> Date: Wed, 16 Mar 2022 21:29:08 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> diff --git a/lisp/mouse.el b/lisp/mouse.el
> >> index b650bea..4eead39 100644
> >> --- a/lisp/mouse.el
> >> +++ b/lisp/mouse.el
> >> @@ -3097,12 +3097,28 @@ mouse-drag-and-drop-region
> >>                                    (frame-pixel-width frame))
> >>                                 (> (cdr location)
> >>                                    (frame-pixel-height frame)))))
> >> -                (tooltip-hide)
> >> +                (x-hide-tip)
> >
> > What will this (and other similar changes you did in that commit) do
> > when tooltip-use-echo-area is non-nil?
> 
> It'll display a tooltip, which is according to the doc string of
> `mouse-drag-and-drop-region-show-tooltip' what that code is supposed to
> do (display a tooltip, not a message in the echo area.)

tooltip-use-echo-area also displays a tooltip, just in a special way.
Is there any reason not to honor it here?



reply via email to

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