[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: following .txt link point at eob
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Wed, 18 Aug 2010 14:23:27 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11314
- References: <87aaovqpxm.fsf@xxxxxxxxx> <b4md3trs0o1.fsf@xxxxxxx> <87mxsod594.fsf@xxxxxxxxx> <b4meidz5e4e.fsf@xxxxxxx>
In [emacs-w3m : No.11303] Katsumi Yamaoka wrote:
> I guess Emacs sees `inhibit-read-only' first and then
> `buffer-read-only' (iff the former is nil) to check if the buffer
> is writable. So, the code that uses `inhibit-read-only' may be
> faster than the one using `buffer-read-only'.
I tried replacing `(let ((buffer-read-only nil)) ...)' with
`(let ((inhibit-read-only t)) ...)' all in emacs-w3m CVS.
No problem so far, but I don't feel it gets so fast either. ;-)
> I feel the use of `inhibit-read-only' reasonable if it is used
> for overriding the read-only'ness of a buffer temporarily.