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: martin rudalics
Subject: bug#50256: thing-at-mouse
Date: Thu, 2 Sep 2021 14:42:15 +0200

>> pos_visible_p already does
>>
>>     if (XBUFFER (w->contents) != current_buffer)
>>       {
>>         old_buffer = current_buffer;
>>         set_buffer_internal_1 (XBUFFER (w->contents));
>>       }
>
> I'm asking if this is the desired behavior, when Lisp runs this inside
> with-current-buffer?

It is the _necessary_ behavior when WINDOW is not the selected window
and its buffer is not current.  Regardless of whether it happens inside
`with-current-buffer' or not.

martin





reply via email to

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