|
| From: | Stefan Monnier |
| Subject: | Re: with-output-to-temp-buffer [Re: reverting CJK input methods] |
| Date: | 06 May 2004 10:27:54 -0400 |
| User-agent: | Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> I fear there's many other codes that pay attention to
> buffer-read-only but not to read-only text-property. In
> almost all cases, I think what they want is to erase a
> buffer completely including read-only text.
Then maybe erase-buffer should do something like
(let ((inhibit-read-only (not buffer-read-only)))
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |