Hrvoje Niksic <hniksic(a)iskon.hr> writes:
> ... what happens when the buffer gets killed during the loop?
You lose. I didn't really pay much attention to that case,
considering it highly extreme and even contrived.
Well lisp is allowed to be evil and extreme unfortunately.
How do we get in the situation where after-change-functions kill the
buffer? Can that really be intentional?
In this case it is was not the after-change-functions themselves. It
is the fact that we process events during after change functions. It
is normal to delete buffers in process sentinels.
Maybe we should disallow killing the buffer in an
after-change-function (and enforce this somehow) and inhibit all
event processing?
Jan