emacs-devel
[Top][All Lists]
Advanced

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

Re: local-after-save-hook?


From: Stefan Monnier
Subject: Re: local-after-save-hook?
Date: Fri, 21 Jun 2002 16:20:11 -0400

> There is a buffer-local hook `local-write-file-hooks' (which is called
> before writing the file) but no `local-after-save-hook' (called after
> the file is written).  Why?

Because local-write-file-hooks should disappear.
Just use the LOCAL argument to `add-hook' instead.


        Stefan

PS: I have a patch to rename those *-file-*-hooks to *-file-*-hook or
    *-file-*-function to better follow the naming convention.  Now that
    we have defvaralias, we can do this switch with 100% backward
    compatibility.  Any interest ?




reply via email to

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