master 6370b66a878 1/4: Revert "; * lisp/progmodes/project.el (project-vc-dir): Fix docstring."

Dmitry Gutov <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit 6370b66a878461b640346fc52d79efe3dfea1168
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Revert "; * lisp/progmodes/project.el (project-vc-dir): Fix docstring."
    
    This reverts commit d0653b46f65d340ad464e318e06d301380091bc0.
    
    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.
---
 lisp/progmodes/project.el | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 67b5bcb284b..095c89235ae 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.