* vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
+2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-rcs.el (vc-rcs-find-file-hook):
+ * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
+
2009-07-16 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-wait-for-output): Handle the case when
;; 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)))
\f
;;;
;; 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 'SCCS))
- (setq buffer-read-only t))
+ (and (stringp (vc-state buffer-file-name 'SCCS))
+ (setq buffer-read-only t)))
\f
;;;