[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-local-hook
From: |
Stefan Monnier |
Subject: |
Re: make-local-hook |
Date: |
Thu, 01 Nov 2001 20:00:11 -0500 |
> "Stefan Monnier" <monnier+gnu/address@hidden> writes:
> > Nothing replace make-local-hook: the only "replacement" is the
> > `local' argument to `add-hook', but that argument was already
> > required before.
>
> So when I see the byte-compiler complain about `make-local-hook', I
> can just go through and remove the offending calls?
Yes, except for two cases:
1 - when the hook variable is modified with something else than
`add-hook' and `remove-hook'.
2 - when we don't want to force a package maintainer to have two different
versions (one bundled with Emacs and one distributed separately).
-- Stefan