vc-ensure-vc-buffer

vc-ensure-vc-buffer is a compiled Lisp function in `vc.el'.

(vc-ensure-vc-buffer)

Make sure that the current buffer visits a version-controlled file.