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: Lars Magne Ingebrigtsen
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 15:57:44 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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