emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: occur-hook changing the current buffer


From: Juanma Barranquero
Subject: Re: occur-hook changing the current buffer
Date: Mon, 27 Jun 2005 07:46:35 +0200

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]