Function: vc-master-name
vc-master-name is an autoloaded and byte-compiled function defined in
vc-filewise.el.gz.
Signature
(vc-master-name FILE)
Documentation
Return the master name of FILE.
If the file is not registered, or the master name is not known, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/vc-filewise.el.gz
(defun vc-master-name (file)
"Return the master name of FILE.
If the file is not registered, or the master name is not known, return nil."
(or (vc-file-getprop file 'vc-name)
;; force computation of the property by calling
;; vc-BACKEND-registered explicitly
(let ((backend (vc-backend file)))
(if (and backend
(vc-filewise-registered backend file))
(vc-file-getprop file 'vc-name)))))