Can I just add this:
First, as Andy already hinted, it's not how a data type is implemented but
the operations in its API which defines it. A list does not map directly to
a hook. A hook can be implemented as a list, but that is not important.
An example of a hook is before-print-hook which is us
On Thu 15 Dec 2016 11:48, Jan Synáček writes:
> I've read about hooks in the manual recently and I don't understand
> why they are special. What is the difference between a hook and a
> plain list of procedures? Why do hooks have their own API?
Historical reasons I think. Early Emacs inspired a
Hi,
I've read about hooks in the manual recently and I don't understand
why they are special. What is the difference between a hook and a
plain list of procedures? Why do hooks have their own API?
Cheers,
--
Jan Synáček