From d56fdcd2490224ebad9805c09ecd18dfba75a62d Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Thu, 16 Jul 2009 20:52:53 +0000 Subject: * vc-rcs.el (vc-rcs-find-file-hook): * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error. --- lisp/vc-rcs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/vc-rcs.el') diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el index ec30ca4576c..8e6eb62ae75 100644 --- a/lisp/vc-rcs.el +++ b/lisp/vc-rcs.el @@ -824,8 +824,8 @@ systime, or nil if there is none. Also, reposition point." ;; If the file is locked by some other user, make ;; the buffer read-only. Like this, even root ;; cannot modify a file that someone else has locked. - (stringp (vc-state buffer-file-name 'RCS)) - (setq buffer-read-only t)) + (and (stringp (vc-state buffer-file-name 'RCS)) + (setq buffer-read-only t))) ;;; -- cgit v1.2.1