Function: project-vc-dir

project-vc-dir is an autoloaded, interactive and byte-compiled function defined in project.el.gz.

Signature

(project-vc-dir)

Documentation

Run VC-Dir in the current project's root.

View in manual

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/project.el.gz
;;;###autoload
(defun project-vc-dir ()
  "Run VC-Dir in the current project's root."
  ;; This is unfortunately inconsistent with `vc-dir' which calls
  ;; `file-truename' on the directory.  But following symlink results in
  ;; "mismatched" project for that buffer and any visited from it.  See
  ;; <https://lists.gnu.org/archive/html/emacs-devel/2026-06/msg00196.html>.
  (interactive)
  (vc-dir (project-root (project-current t))))