diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2009-07-16 20:52:53 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2009-07-16 20:52:53 +0000 |
commit | d56fdcd2490224ebad9805c09ecd18dfba75a62d (patch) | |
tree | 5abfdaf0a055692e836540d064361e021538bb9e /lisp/vc-sccs.el | |
parent | 137987ab43d15cfafc0e11639d80f700408d5bea (diff) | |
download | emacs-d56fdcd2490224ebad9805c09ecd18dfba75a62d.tar.gz |
* vc-rcs.el (vc-rcs-find-file-hook):
* vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
Diffstat (limited to 'lisp/vc-sccs.el')
-rw-r--r-- | lisp/vc-sccs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el index 6e9c2dd3fc6..9236f604f80 100644 --- a/lisp/vc-sccs.el +++ b/lisp/vc-sccs.el @@ -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))) ;;; |