|
From: | Kevin Rodgers |
Subject: | Re: with-output-to-temp-buffer [Re: reverting CJK input methods] |
Date: | Thu, 06 May 2004 09:49:21 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Stefan Monnier wrote: >>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))) I don't understand why that should not be the caller's responsibility. -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |