Function: vc-find-file-hook

vc-find-file-hook is a function alias and interactive for vc-refresh-state, defined in vc-hooks.el.gz.

This command is obsolete since 25.1; use vc-refresh-state instead.

Signature

(vc-find-file-hook)

Documentation

Refresh the VC state of the current buffer's file.

This command is more thorough than vc-state-refresh, in that it also supports switching a back-end or removing the file from VC. In the latter case, VC mode is deactivated for this buffer.

Key Bindings

Aliases

vc-find-file-hook (obsolete since 25.1)