Change MODE-INITIALIZATION (for both major and minor modes) to accept
the buffer as its argument; previously mode initializations had no
arguments. Rewrite all mode initializations to be lambda expressions
with explicit bindings for the buffer argument. Eliminate notion of
BUFFER-INITIALIZATIONS -- buffer's mode is now set immediately when
SET-BUFFER-MAJOR-MODE! or SET-BUFFER-MINOR-MODE! is called.
---> NOTE WELL!!! <---
All mode hooks have been changed to take the buffer as an argument --
this is an incompatible change that will affect anyone who uses a mode
hook in their initialization file.
22 files changed: