[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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.
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 ?