|
From: | Juri Linkov |
Subject: | Re: [ELPA] New package: perl-doc |
Date: | Thu, 28 Jul 2022 22:34:50 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> Harald> I have failed to find a hook for a change of window >> Harald> width, but man.el simply uses an idle timer to check for >> changes. I'll >> Harald> adopt that in my code. >> >> It sounds like you want a buffer-local `window-size-change-functions' in >> combination with `window-old-body-pixel-width'. > > Correct: I want exactly that! > > In the meantime I had discovered window-state-change-functions (used in > man.el) which is not quite as good. Why do you think it's not quite good? It's called when the window is resized too.
[Prev in Thread] | Current Thread | [Next in Thread] |