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

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

Re: Is it ok to use (redisplay), or should this be left to the experts?


From: Stefan Monnier
Subject: Re: Is it ok to use (redisplay), or should this be left to the experts?
Date: Mon, 11 Feb 2019 22:58:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> The new text width only needs to be calculated once, so if I solve this with
> a function in `window-size-change-functions', the function would need to
> remove itself from that hook again.  I guess it's feasible to call
> remove-hook inside the function, right?

It should work fine, yes.  If not, please report it as a bug (and you
can work around it by postponing the removal to some silly one-shot
timer so it's removed from outside the function).


        Stefan




reply via email to

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