]> code.delx.au - gnu-emacs/blobdiff - lisp/obsolete/vc-mcvs.el
Merge from emacs-24; up to 2012-12-26T22:30:58Z!yamaoka@jpl.org
[gnu-emacs] / lisp / obsolete / vc-mcvs.el
index 980cdbfd71b2e32268d09a68eade6eae96e4fcdc..dd597be32b1e23d591229ffcce9d60c12b76718c 100644 (file)
@@ -1,6 +1,6 @@
 ;;; vc-mcvs.el --- VC backend for the Meta-CVS version-control system
 
-;; Copyright (C) 2003-201 Free Software Foundation, Inc.
+;; Copyright (C) 2003-2013 Free Software Foundation, Inc.
 
 ;; Author:      FSF (see vc.el for full credits)
 ;; Maintainer:  None
@@ -329,7 +329,7 @@ This is only possible if Meta-CVS is responsible for FILE's directory.")
           (if vc-mcvs-use-edit
               (vc-mcvs-command nil 0 file "edit")
             (set-file-modes file (logior (file-modes file) 128))
-            (if (equal file buffer-file-name) (toggle-read-only -1))))
+            (if (equal file buffer-file-name) (read-only-mode -1))))
     ;; Check out a particular revision (or recreate the file).
     (vc-file-setprop file 'vc-working-revision nil)
     (apply 'vc-mcvs-command nil 0 file