Revert "; * lisp/progmodes/project.el (project-vc-dir): Fix docstring."

This reverts commit d0653b46f6.

Given the examples in
https://lists.gnu.org/archive/html/emacs-devel/2026-06/msg00276.html
it's clear that there is no consensus on using canonical names here.
This commit is contained in:
Dmitry Gutov 2026-06-12 06:13:42 +03:00
parent 78a10d17c6
commit 6370b66a87

View file

@ -1609,12 +1609,10 @@ The current buffer's `default-directory' is available as part of
;;;###autoload
(defun project-vc-dir ()
"Run VC-Dir in the current project's root."
;; This was made interactive-only because it now follows `vc-dir' in
;; calling `file-truename' on the directory. One disadvantage of this
;; is that these VC-Dir buffers won't count as belonging to the
;; project for the purpose of `project-switch-to-buffer'. See
;; <https://lists.gnu.org/archive/html/emacs-devel/2026-06/msg00196.html>.
"Run VC-Dir in the current project's root.
If TRUENAMEIZE is non-nil, as it is interactively, then if the project
root is a symbolic link, resolve it first. This matches the behaviour
of \\[vc-dir] when invoked interactively."
(declare (interactive-only vc-dir))
(interactive)
(vc-dir (abbreviate-file-name