On Thu 15 Dec 2016 11:48, Jan Synáček <jan.syna...@gmail.com> 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 number of Guile
extension points, and hooks are a thing there.  (Hooks are not just a
list of procedures -- they're a settable place as well and a way of
running all of the procedures.)  Anyway I agree, nothing to shout about,
and probably something the manual should mention less prominently.

Andy

Reply via email to