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: Noam Postavsky
Subject: Re: Zoom: a window management minor mode -- best practices and questions
Date: Tue, 8 May 2018 10:53:56 -0400

On 8 May 2018 at 06:40, Andrea Cardaci <address@hidden> wrote:

> (defun foo (x)
>   (message "pre-redisplay-function"))
>
> (add-hook 'pre-redisplay-function 'foo)

`add-hook' is for variables which are lists of functions, for
pre-redisplay-function which holds a single function, you should use
add-function:

(add-function :after pre-redisplay-function #'foo)



reply via email to

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