> Perhaps this change should be documented in the `Incompatible
> Lisp Changes in Emacs 22.1' in etc/NEWS.  When users have hooks
> that modify the contents of the *Occur* buffer then these hooks
> will fail after the read-only flag was set on the *Occur* buffer.

On one hand, `occur-hook' didn't even exist in 21.4.

On the other hand, `occur-hook' runs inside a (let ((inhibit-read-only t))...)

And finally, I think previously the hook ran after setting the buffer
read-only, till Eli's modification of a while back.

-- 
                    /L/e/k/t/u


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to