emacs-devel
[Top][All Lists]
Advanced

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

Re: Zoom: a window management minor mode -- best practices and questions


From: martin rudalics
Subject: Re: Zoom: a window management minor mode -- best practices and questions
Date: Thu, 10 May 2018 12:27:22 +0200

> I hook `pre-redisplay-function` only and perform the update only when the
> following expression changes:
>
>        (format "%s%s" (window-list) track-mouse)
>
> So any event that causes `pre-redisplay-function` to be called but doesn't
> change the expression won't trigger the update.

This should work although I suppose (cons track-mouse (window-list))
would do as well.

martin



reply via email to

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