bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Ihor Radchenko
Subject: bug#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay
Date: Thu, 15 Dec 2022 13:23:58 +0000

Eli Zaretskii <eliz@gnu.org> writes:

>> > You can let-bind them to nil around that snippet, mo?
>> 
>> I only know these hooks from reading the code.
>> How can I make sure that let-binding will reliably work in future Emacs
>> versions?
>
> I don't think I understand the question.  Do you mean we could
> possibly remove these hooks in future versions?  If not, what do you
> mean by "reliably"?

I am mostly afraid about adding new similar hooks in future. I am not
even sure if my list of executed hooks is complete.

Practically, I'd prefer Emacs to provide a macro or extra argument that
binds all the necessary hooks when opening a file buffer. Maybe,
something similar to `delay-mode-hooks'.

-- 
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>





reply via email to

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