[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inhibit-read-only
From: |
martin rudalics |
Subject: |
Re: inhibit-read-only |
Date: |
Wed, 15 Feb 2006 11:10:41 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> The following makes everything writable:
>
> (let ((debug-on-error t)
> (inhibit-read-only t))
> (error "?"))
>
> Could you be more precise than "makes everything writable"? Do you
> mean that everything is writable while you are in the debugger?
Yes. The problem is that `inhibit-read-only' is not buffer-local like
`buffer-read-only'. Hence, entering the debugger has a rather global
side-effect. I'm afraid there's nothing that could be done here.