bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2623: 23.0.91; File is under version-control; use C-x v v to check i


From: Dan Nicolaescu
Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out
Date: Mon, 11 Jul 2011 10:33:35 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Leo <sdl.web@gmail.com> writes:
>
>> This situation can be improved by a one line change:
>>
>> --- /tmp/emacs/share/emacs/23.0.60/lisp/files.el.gz
>> +++ /tmp/buffer-content-32645B0g
>> @@ -4429,7 +4429,7 @@
>>        (view-mode-enter))
>>       (t (setq buffer-read-only (not buffer-read-only))
>>          (force-mode-line-update)))
>> -    (if (vc-backend buffer-file-name)
>> +    (if (memq (vc-backend buffer-file-name) '(RCS SCCS))
>
> I think this change makes lots of sense, so I've installed it in Emacs
> 24.

It might be a good idea to used a named variable there instead of '(RCS SCCS)
so that other VC backends could add to it.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]