[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6762: 23.2; Eshell bug in detecting read-only file (patch included)
From: |
Chong Yidong |
Subject: |
bug#6762: 23.2; Eshell bug in detecting read-only file (patch included) |
Date: |
Fri, 30 Jul 2010 19:25:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
John Wiegley <jwiegley@gmail.com> writes:
> Looks like a great patch to me.
Checked in. Thanks.
> On Jul 30, 2010, at 6:13 AM, Leo wrote:
>
>> I have diff-default-read-only set to t and this prevents eshell from
>> writing to diff files i.e.
>>
>> ESHELL$ git diff x..y > file.diff
>>
>> fails due to its use of buffer-read-only, which doesn't necessary
>> reflects the read-only state of a file.
>>
>> The following patch tries to fix this.