diff options
Diffstat (limited to 'lisp/vc/vc-filewise.el')
-rw-r--r-- | lisp/vc/vc-filewise.el | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/vc/vc-filewise.el b/lisp/vc/vc-filewise.el index 9bdde5e5e31..bc8a8dec416 100644 --- a/lisp/vc/vc-filewise.el +++ b/lisp/vc/vc-filewise.el @@ -81,18 +81,6 @@ If the file is not registered, or the master name is not known, return nil." (vc-file-setprop file 'vc-name result) nil)))) ; Not registered -(defun vc-possible-master (s dirname basename) - (cond - ((stringp s) (format s dirname basename)) - ((functionp s) - ;; The template is a function to invoke. If the - ;; function returns non-nil, that means it has found a - ;; master. For backward compatibility, we also handle - ;; the case that the function throws a 'found atom - ;; and a pair (cons MASTER-FILE BACKEND). - (let ((result (catch 'found (funcall s dirname basename)))) - (if (consp result) (car result) result))))) - (defun vc-check-master-templates (file templates) "Return non-nil if there is a master corresponding to FILE. |