Commit d56fdcd2 authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* vc-rcs.el (vc-rcs-find-file-hook):

* vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
parent 137987ab
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
......
......@@ -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)))
;;;
......
......@@ -395,8 +395,8 @@ revert all subfiles."
;; 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)))
;;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment