* vc-rcs.el (vc-rcs-find-file-hook):
* vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
This commit is contained in:
parent
137987ab43
commit
d56fdcd249
3 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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)))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Add table
Reference in a new issue