Function: vc-sccs-lock-file

vc-sccs-lock-file is a byte-compiled function defined in vc-sccs.el.gz.

Signature

(vc-sccs-lock-file FILE)

Documentation

Generate lock file name corresponding to FILE.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-sccs.el.gz
(defun vc-sccs-lock-file (file)
  "Generate lock file name corresponding to FILE."
  (let ((master (vc-master-name file)))
    (and
     master
     (string-match "\\(.*/\\)\\(s\\.\\)\\(.*\\)" master)
     (replace-match "p." t t master 2))))