Subject: bug#2623: 23.0.91; File is under version-control; use C-x v v to check in/out

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Mon, 11 Jul 2011 15:57:44 +0200

Leo <[email-masked]> 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/