Subject: bug#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay

From: Ihor Radchenko <[email-masked]>
Date: Thu, 15 Dec 2022 11:05:56 +0000

Eli Zaretskii <[email-masked]> writes:

>> Hooks will be executed first time an image is opened. This may cause
>> slowdowns when there is a huge number of inline images in the buffer,
>> first time they are displayed.
>
> Which hooks are we talking about here?

find-file-hook, change-major-mode-after-body-hook,
and after-change-major-mode-hook.

In my setup, these hooks call 29 functions total.
It may be more in heavily customized distributions like Doom.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>